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

Disassembly:
push 0xffffffffffffffff
push 0x447552
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x888], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
xor eax, esp
push eax
lea eax, [esp + 0x8a0]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ebx, edx
mov edi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x8a8], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x8b0], 1
call fcn.00414160
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x4136d0
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x413733
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4136e3
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 6
jne 0x413733
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ebp
mov word [ebx + 4], bp
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x413715
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edx
push ecx
call fcn.00415780
mov edx, dword [esp + 0x28]
push edx
call fcn.00433114
add esp, 0xc
lea ebx, [esp + 0x34]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.00414630
mov eax, dword [esp + 0x30]
jmp 0x41399f
mov eax, 7
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
lea esi, [esp + 0x48c]
call fcn.00415c00
mov byte [esp + 0x8a8], 4
mov esi, dword [esp + 0x38]
cmp esi, ebp
mov ecx, dword [esp + 0x3c]
jne 0x413778
mov dword [esp + 0x18], ebp
jmp 0x413791
mov edx, ecx
sub edx, esi
mov eax, 0x7e8472a9
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
xor edi, edi
cmp dword [esp + 0x18], ebp
jbe 0x41385d
mov dword [esp + 0x2c], ebp
jmp 0x4137ab
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, ebp
je 0x4137c6
sub ecx, esi
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4137cf
call fcn.004338e0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x7c]
lea ecx, [eax + esi]
push edx
call fcn.004139d0
mov eax, 5
mov byte [esp + 0x8a8], al
cmp dword [esp + 0x34c], eax
je 0x41380a
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x110]
lea ecx, [esp + 0x68]
call fcn.004019b0
jmp 0x413837
cmp dword [esp + 0x52c], ebp
je 0x413823
mov eax, dword [esp + 0x354]
cmp eax, dword [esp + 0x764]
jbe 0x413837
lea eax, [esp + 0x7c]
lea ebx, [esp + 0x48c]
call fcn.00413b00
mov ebx, dword [esp + 0x30]
lea esi, [esp + 0x7c]
mov byte [esp + 0x8a8], 4
call fcn.00415d90
add dword [esp + 0x2c], 0x40c
add edi, 1
cmp edi, dword [esp + 0x18]
jb 0x4137a3
cmp dword [esp + 0x52c], ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push ebp
lea eax, [esp + 0x68]
je 0x413878
lea eax, [esp + 0x520]
call fcn.004019b0
cmp dword [esp + 0x58], ebp
jne 0x4138d3
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
je 0x4138d3
mov eax, dword [esp + 0x24]
mov edx, eax
sub edx, ecx
sar edx, 6
je 0x4138d3
xor esi, esi
xor edi, edi
lea esp, [esp]
cmp ecx, ebp
je 0x4138d3
sub eax, ecx
sar eax, 6
cmp esi, eax
jae 0x4138d3
push 0xffffffffffffffff
lea eax, [edi + ecx + 0x1c]
push ebp
lea ecx, [esp + 0x4c]
call fcn.004019b0
cmp dword [esp + 0x58], ebp
jne 0x4138d3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esi, 1
add edi, 0x40
jmp 0x4138a0
push 0xffffffffffffffff
mov edi, 7
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], ebp
push ebp
lea eax, [esp + 0x4c]
mov ecx, ebx
mov word [ebx + 4], bp
call fcn.004019b0
lea esi, [esp + 0x48c]
call fcn.00415d90
mov esi, 8
cmp dword [esp + 0x78], esi
jb 0x413914
mov eax, dword [esp + 0x64]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
jb 0x413934
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
je 0x413965
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edx
push ecx
call fcn.00415780
mov edx, dword [esp + 0x28]
push edx
call fcn.00433114
add esp, 0xc
mov esi, dword [esp + 0x38]
cmp esi, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
je 0x41399d
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x413994
call fcn.00415d90
add esi, 0x40c
cmp esi, edi
jne 0x413981
mov esi, dword [esp + 0x38]
push esi
call fcn.00433114
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x8a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x888]
xor ecx, esp
call fcn.004337a7
add esp, 0x898
ret