Function at 0x415b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
lea ecx, [esi + 0x120]
mov eax, dword [ebp + 0x14]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x41d3a0
mov edx, dword fs:[0]
mov dword [ecx], edx
mov dword fs:[0], ecx
mov ecx, dword [eax + 4]
and ecx, 0x4a
je 0x415b7c
cmp ecx, 0x40
je 0x415b85
cmp ecx, 8
jne 0x415b8e
mov dword [esi + 0x14], 0x10
jmp 0x415b95
mov dword [esi + 0x14], 0
jmp 0x415b95
mov dword [esi + 0x14], 8
jmp 0x415b95
mov dword [esi + 0x14], 0xa
xor edx, edx
lea ecx, [esi + 0x2e]
lea ebx, [esi + 0x40]
pcmpeqd xmm0, xmm0
lea edi, [esi + 0x34]
dec edx
mov word [ecx], 0xffff
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [ebx + 0x30], edx
mov dword [edi + 8], edx
push ecx
push ebx
push eax
push edi
call fcn.00417920
add esp, 0x10
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x128], eax
push eax
push 0xa
call fcn.0041d9c6
lea ecx, [esi + 0x19]
test byte [ecx - 1], 1
je 0x415bf6
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], ecx
lea edi, [esi + 0x78]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x28]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
push 0xa0
push 0xff
push edi
call fcn.005076c0
add esp, 0xc
lea eax, [esi + 0x24]
lea ecx, [esi + 0x30]
mov dword [eax], edi
mov dword [ecx], 0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x415c45
mov eax, dword [ecx + 0xc]
mov edi, dword [esi + 4]
cmp eax, dword [ecx + 0x10]
je 0x415c51
movzx eax, word [eax]
jmp 0x415c5c
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov bl, 1
xor ecx, ecx
jmp 0x415c6e
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
xor edx, edx
cmp ax, 0xffff
sete bl
je 0x415c69
mov edx, ecx
mov ecx, edx
mov edx, dword [esi + 0xc]
test edx, edx
mov dword [esi + 8], ecx
je 0x415ca7
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x415c82
movzx eax, word [eax]
jmp 0x415c98
mov eax, dword [edx]
mov ecx, edx
mov byte [esi + 0x12], bl
call dword [eax + 0x20]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov bl, byte [esi + 0x12]
cmp ax, 0xffff
je 0x415ca7
test bl, bl
jne 0x415cb1
jmp 0x415d8e
xor edx, edx
test bl, bl
jne 0x415d8e
movzx ebx, byte [esi + 0x18]
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], edx
test bl, 1
jne 0x415cc4
shr ebx, 1
jmp 0x415cc7
mov ebx, dword [esi + 0x1c]
lea edx, [edi + ebx]
cmp eax, edx
jne 0x415d14
mov dword [esi + 4], ebx
lea eax, [ebx + ebx]
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.0041d9c6
mov eax, dword [esi + 0x18]
mov ecx, 0xa
and eax, 0xfffffffe
dec eax
test byte [esi + 0x18], 1
cmove eax, ecx
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.0041d9c6
test byte [esi + 0x18], 1
lea edi, [esi + 0x19]
je 0x415d09
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, edi
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0xc]
movzx edx, word [esi + 0x2e]
mov dword [esi + 4], edi
cmp eax, dword [ecx + 0x10]
je 0x415d28
movzx eax, word [eax]
jmp 0x415d38
mov eax, dword [ecx]
mov word [esi + 0x12], dx
call dword [eax + 0x20]
mov edi, dword [esi + 4]
movzx edx, word [esi + 0x12]
movzx ecx, dx
movzx eax, ax
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x24]
push edx
lea edx, [esi + 0x78]
push edx
lea edx, [esi + 0x34]
push edx
push ecx
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esi + 0x28]
push ecx
push edi
push dword [esi + 0x14]
push eax
call fcn.004171a0
add esp, 0x28
test eax, eax
jne 0x415d88
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x415d7e
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x415c2e
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x415c2e
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 4]
movzx eax, byte [esi + 0x34]
mov cl, 1
mov dword [esi + 0xc], edx
test al, cl
je 0x415da0
mov eax, dword [esi + 0x38]
jmp 0x415da2
shr eax, 1
test eax, eax
je 0x415dc3
mov eax, dword [esi + 0x24]
lea edx, [esi + 0x78]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x9f
jg 0x415dc3
mov ecx, dword [esi + 0x30]
lea edx, [eax + 4]
mov dword [esi + 0x24], edx
mov dword [eax], ecx
push dword [esi + 0x14]
push dword [ebp + 0x18]
push dword [esi + 0x28]
push edi
call fcn.0041c531
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push dword [ebp + 0x18]
push dword [esi + 0x24]
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x34]
push eax
call fcn.0040bf6a
add esp, 0x10
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x415e07
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x415e0d
movzx eax, word [eax]
jmp 0x415e15
mov bl, 1
xor ecx, ecx
jmp 0x415e21
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 8]
xor edx, edx
cmp ax, 0xffff
sete bl
cmove ecx, edx
mov edx, dword [esi + 0xc]
mov edi, dword [ebp + 8]
test edx, edx
je 0x415e38
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x415e3e
movzx eax, word [eax]
jmp 0x415e54
test bl, bl
jne 0x415e5f
jmp 0x415e65
mov eax, dword [edx]
mov dword [esi + 8], ecx
mov ecx, edx
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov bl, byte [esi + 4]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x415e65
mov eax, dword [ebp + 0x18]
or byte [eax], 2
test byte [esi + 0x18], 1
mov dword [edi], ecx
je 0x415e78
push dword [esi + 0x20]
call fcn.005031ac
add esp, 4
test byte [esi + 0x34], 1
je 0x415e89
push dword [esi + 0x3c]
call fcn.005031ac
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18