Function at 0x150e6a3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push 0x1512e88
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x150e6c3
or eax, 0xffffffff
jmp 0x150ed45
push 0x15136c0
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x150e6bb
push 0x15136b4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x150e6bb
push 0x15136a8
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x150e6bb
push 0x151369c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x150e6bb
push 0x151368c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x150e6bb
push 0x15135cc
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x150e6bb
push 0x1513320
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
test eax, eax
je 0x150e6bb
push 0x1513674
push eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x150e6bb
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
push ebx
push edi
push esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], eax
call fcn.015077f9
pop ecx
push 0x46
cdq
pop ecx
idiv ecx
push esi
mov ebx, eax
call fcn.015077f9
test ebx, ebx
jne 0x150e7b8
inc eax
push eax
call fcn.015076e0
mov edi, eax
push esi
mov dword [ebp - 0xc], edi
call fcn.015077f9
inc eax
push eax
push ebx
push edi
call fcn.0150771d
push esi
call fcn.015077f9
push eax
push esi
push edi
call fcn.015076f8
add esp, 0x28
jmp 0x150e8b0
pop ecx
push 0x46
cdq
pop ecx
idiv ecx
push esi
test edx, edx
jne 0x150e834
lea edi, [ebx + ebx - 1]
call fcn.015077f9
add eax, edi
push eax
call fcn.015076e0
push esi
mov dword [ebp - 0xc], eax
call fcn.015077f9
add eax, edi
mov edi, dword [ebp - 0xc]
push eax
push 0
push edi
call fcn.0150771d
and dword [ebp - 0xc], 0
add esp, 0x18
mov dword [ebp - 0x18], edi
test ebx, ebx
jle 0x150e8a8
push 0x46
push esi
push edi
call fcn.015076f8
lea eax, [ebx - 1]
add esp, 0xc
add esi, 0x46
add edi, 0x46
cmp dword [ebp - 0xc], eax
jge 0x150e82a
push 2
push 0x1513670
push edi
call fcn.015076f8
add esp, 0xc
inc edi
inc edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x150e7fe
jmp 0x150e8a8
call fcn.015077f9
lea eax, [eax + ebx*2 + 1]
push eax
call fcn.015076e0
push esi
mov edi, eax
call fcn.015077f9
lea eax, [eax + ebx*2 + 1]
push eax
push 0
push edi
call fcn.0150771d
and dword [ebp - 0xc], 0
add esp, 0x18
mov dword [ebp - 0x18], edi
test ebx, ebx
jle 0x150e897
push 0x46
push esi
push edi
call fcn.015076f8
add esp, 0xc
add esi, 0x46
add edi, 0x46
cmp dword [ebp - 0xc], ebx
jge 0x150e88f
push 2
push 0x1513670
push edi
call fcn.015076f8
add esp, 0xc
inc edi
inc edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x150e866
push esi
call fcn.015077f9
push eax
push esi
push edi
call fcn.015076f8
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov edi, eax
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
call fcn.015077f9
mov esi, eax
push edi
add esi, esi
call fcn.015077f9
cmp dword [ebp + 0x18], 0
pop ecx
pop ecx
lea esi, [esi + eax*2]
jne 0x150e8d4
push 0x1513668
jmp 0x150e8e8
push 0x1513660
call fcn.015077f9
lea esi, [esi + eax*2]
mov dword [esp], 0x1513658
call fcn.015077f9
lea eax, [esi + eax*2]
add eax, 0x16
cmp dword [ebp + 0x18], 0
pop ecx
jne 0x150e901
mov dword [ebp - 0x14], 2
cmp dword [ebp + 0x18], 5
jne 0x150e90e
mov dword [ebp - 0x14], 3
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
imul ecx, ecx, 0x18
lea eax, [ecx + eax + 3]
and eax, 0xfffffffc
imul eax, ebx
push eax
push 0x40
call dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x150e935
or eax, 0xffffffff
jmp 0x150ed43
push eax
call dword [ebp - 0x20]
mov esi, eax
mov eax, 0xc8
mov word [esi + 0xa], ax
add eax, 0xffffffce
push edi
mov dword [esi], 0x80c80080
mov word [esi + 8], bx
mov word [esi + 0xc], ax
call fcn.015077f9
add eax, 5
imul eax, eax, 3
cmp ax, 0x64
pop ecx
push 0x32
pop ecx
mov word [esi + 0xe], ax
mov word [esi + 0x10], cx
jge 0x150e97a
push 0x64
pop eax
mov word [esi + 0xe], ax
movzx eax, word [esi + 0xe]
mov ecx, 0x12c
mov edx, ecx
cmp ax, dx
jle 0x150e9a7
cwde
cdq
mov ebx, ecx
idiv ebx
imul eax, eax, 0x14
test edx, edx
jne 0x150e99c
add eax, 0x1e
jmp 0x150e99f
add eax, 0x32
mov word [esi + 0x10], ax
mov word [esi + 0xe], cx
xor ecx, ecx
lea eax, [esi + 0x12]
mov word [eax], cx
inc eax
inc eax
mov word [eax], cx
lea ebx, [eax + 2]
jmp 0x150ea07
cmp al, 0xb0
jb 0x150e9fc
cmp al, 0xf7
ja 0x150e9fc
mov cl, byte [edx + 1]
cmp cl, 0xa1
jb 0x150e9fc
cmp cl, 0xfe
ja 0x150e9fc
mov byte [ebp - 8], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 7], cl
call fcn.0150e512
mov ax, word [ebp - 4]
mov word [ebx], ax
mov eax, dword [ebp + 0x10]
add eax, 2
cmp byte [eax], 0
pop ecx
pop ecx
mov dword [ebp + 0x10], eax
je 0x150ea07
inc ebx
inc ebx
jmp 0x150ea07
cbw
mov word [ebx], ax
inc ebx
inc ebx
inc edx
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0x10]
mov al, byte [edx]
test al, al
jne 0x150e9b9
push dword [ebp - 0x10]
call fcn.015077f9
and eax, 0x80000003
pop ecx
jns 0x150ea25
dec eax
or eax, 0xfffffffc
inc eax
je 0x150ea29
inc ebx
inc ebx
push dword [ebp - 0x10]
call fcn.015077f9
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp byte [ecx + eax - 2], 0xb0
jb 0x150ea7d
push eax
call fcn.015077f9
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp byte [ecx + eax - 2], 0xf7
ja 0x150ea7d
push eax
call fcn.015077f9
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp byte [ecx + eax - 1], 0xa1
jb 0x150ea7d
push eax
call fcn.015077f9
pop ecx
mov ecx, dword [ebp - 0x10]
cmp byte [eax + ecx - 1], 0xfe
ja 0x150ea7d
lea eax, [ebx + 5]
and eax, 0xfffffffe
jmp 0x150ea8a
lea eax, [ebx + 1]
and eax, 0xfffffffe
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
cmp dword [ebp - 0x14], 2
mov ebx, 0xffff
jne 0x150eb11
lea ecx, [eax + 1]
movsx eax, word [esi + 0xe]
sub eax, 0x28
cdq
sub eax, edx
sar eax, 1
and ecx, 0xfffffffe
mov word [ecx + 8], ax
mov ax, word [esi + 0x10]
sub ax, 0x14
mov word [ecx + 0xa], ax
push 0x28
pop eax
mov word [ecx + 0xc], ax
push 0xf
pop eax
mov word [ecx + 0xe], ax
xor eax, eax
inc eax
mov word [ecx + 0x10], ax
lea edi, [ecx + 0x12]
mov dword [ecx], 0x50000001
mov eax, ebx
mov word [edi], ax
inc edi
inc edi
mov eax, 0x80
mov word [edi], ax
lea eax, [ebp - 4]
push 0x1513654
inc edi
push eax
inc edi
call fcn.0150e512
mov ax, word [ebp - 4]
mov word [edi], ax
lea eax, [ebp - 4]
push 0x1513650
push eax
call fcn.0150e512
add esp, 0x10
jmp 0x150ec19
cmp dword [ebp - 0x14], 3
jne 0x150ec31
lea ecx, [eax + 1]
movsx eax, word [esi + 0xe]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x2d
and ecx, 0xfffffffe
mov word [ecx + 8], ax
mov ax, word [esi + 0x10]
sub ax, 0x14
mov word [ecx + 0xa], ax
push 0x28
pop eax
mov word [ecx + 0xc], ax
push 0xf
pop eax
mov word [ecx + 0xe], ax
push 4
pop eax
mov word [ecx + 0x10], ax
lea edi, [ecx + 0x12]
mov dword [ecx], 0x50000001
mov eax, ebx
mov word [edi], ax
inc edi
inc edi
mov eax, 0x80
mov word [edi], ax
lea eax, [ebp - 4]
push 0x151364c
inc edi
push eax
inc edi
call fcn.0150e512
mov ax, word [ebp - 4]
mov word [edi], ax
lea eax, [ebp - 4]
push 0x1513648
push eax
call fcn.0150e512
mov ax, word [ebp - 4]
mov word [edi + 2], ax
lea eax, [edi + 9]
and eax, 0xfffffffe
xor ecx, ecx
mov word [eax], cx
lea ecx, [eax + 3]
movsx eax, word [esi + 0xe]
cdq
sub eax, edx
sar eax, 1
add eax, 5
and ecx, 0xfffffffe
mov word [ecx + 8], ax
mov ax, word [esi + 0x10]
sub ax, 0x14
mov word [ecx + 0xa], ax
push 0x28
pop eax
mov word [ecx + 0xc], ax
push 0xf
pop eax
mov word [ecx + 0xe], ax
push 2
pop eax
mov word [ecx + 0x10], ax
lea edi, [ecx + 0x12]
mov dword [ecx], 0x50000001
mov eax, ebx
mov word [edi], ax
inc edi
inc edi
mov eax, 0x80
mov word [edi], ax
lea eax, [ebp - 4]
inc edi
push 0x1513644
push eax
inc edi
call fcn.0150e512
mov ax, word [ebp - 4]
mov word [edi], ax
lea eax, [ebp - 4]
push 0x1513640
push eax
call fcn.0150e512
add esp, 0x20
mov ax, word [ebp - 4]
mov word [edi + 2], ax
lea eax, [edi + 9]
mov edi, dword [ebp - 0xc]
and eax, 0xfffffffe
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
inc eax
and eax, 0xfffffffe
push 0xa
pop ecx
mov word [eax + 8], cx
mov word [eax + 0xa], cx
mov cx, word [esi + 0xe]
sub cx, 0x14
mov word [eax + 0xc], cx
mov cx, word [esi + 0x10]
sub cx, 0x1e
mov word [eax + 0xe], cx
mov dword [eax], 0x50000001
mov ecx, 0xc8
mov word [eax + 0x10], cx
add eax, 0x12
mov word [eax], bx
inc eax
inc eax
add ecx, 0xffffffba
mov word [eax], cx
lea esi, [eax + 2]
jmp 0x150ecbc
cmp al, 0xb0
jb 0x150ecb4
cmp al, 0xf7
ja 0x150ecb4
mov cl, byte [edi + 1]
cmp cl, 0xa1
jb 0x150ecb4
cmp cl, 0xfe
ja 0x150ecb4
mov byte [ebp - 8], al
mov al, byte [edi + 1]
mov byte [ebp - 7], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0150e512
mov ax, word [ebp - 4]
mov word [esi], ax
inc esi
inc esi
pop ecx
inc edi
pop ecx
inc edi
jmp 0x150ecbc
cbw
mov word [esi], ax
inc esi
inc esi
inc edi
mov al, byte [edi]
test al, al
jne 0x150ec7a
mov edi, dword [ebp - 0x24]
push edi
call fcn.015077f9
and eax, 0x80000003
pop ecx
jns 0x150ecd8
dec eax
or eax, 0xfffffffc
inc eax
je 0x150ecdc
inc esi
inc esi
push edi
call fcn.015077f9
cmp byte [eax + edi - 2], 0xb0
pop ecx
jb 0x150ed14
push edi
call fcn.015077f9
cmp byte [eax + edi - 2], 0xf7
pop ecx
ja 0x150ed14
push edi
call fcn.015077f9
cmp byte [eax + edi - 1], 0xa1
pop ecx
jb 0x150ed14
push edi
call fcn.015077f9
cmp byte [eax + edi - 1], 0xfe
pop ecx
jbe 0x150ed1d
inc esi
and esi, 0xfffffffe
xor eax, eax
mov word [esi], ax
push dword [ebp - 0x18]
call dword [ebp - 0x28]
push 0
push 0x150e54d
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [ebp - 0x2c]
mov esi, eax
call dword [ebp - 0x30]
push dword [ebp - 0x18]
call dword [ebp - 0x34]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret