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

Disassembly:
push 0xffffffffffffffff
push 0x4fb337
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xd8]
xor esi, esi
push edi
mov dword [esp + 0x58], 0x510274
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call fcn.0046e6e0
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
call fcn.0046e6e0
push esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x64], eax
call fcn.00414300
mov eax, dword [ebx + 0xb0]
lea ecx, [esp + 0x8c]
push eax
mov dword [esp + 0x118], esi
call fcn.004703a0
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], 0x510268
lea ecx, [esp + 0x30]
push 1
lea edx, [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0x120], 1
call fcn.00414430
mov dword [esp + 0x18], 0x51025c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x38]
or edi, 0xffffffff
xor eax, eax
cmp ecx, esi
mov byte [esp + 0x114], 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], eax
jle 0x41357a
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + eax*4]
mov eax, dword [esi + 4]
cmp edi, eax
jge 0x41339e
inc edi
cmp edi, eax
jge 0x41339e
mov ecx, dword [ebx + 0xd8]
push edi
call fcn.0046e840
mov ebp, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.00490de0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc edi
mov dword [edx + eax*4], ebp
mov eax, dword [esi + 4]
cmp edi, eax
jl 0x413368
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ecx
jne 0x413414
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
cmp eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jle 0x413408
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xdc]
push eax
call fcn.0046e840
mov edi, eax
test edi, edi
je 0x4133d5
or dword [edi + 0xc], 0x40000000
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.00490de0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [ecx + ebp*4], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
inc edi
inc eax
mov dword [esp + 0x10], edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4133b8
mov edx, dword [esi + 4]
mov dword [esp + 0x10], edx
jmp 0x413561
cmp eax, 1
jne 0x413484
mov eax, dword [esi + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
cmp eax, ecx
jle 0x413555
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0xd8]
call fcn.0046e840
mov edi, eax
test edi, edi
je 0x41344c
or dword [edi + 0xc], 0x20000000
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.00490de0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edx + ebp*4], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
inc edi
inc eax
mov dword [esp + 0x10], edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41342f
jmp 0x413555
cmp eax, 2
jne 0x413561
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, ecx
jle 0x4134ef
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0xd8]
call fcn.0046e840
mov edi, eax
test edi, edi
je 0x4134bc
or dword [edi + 0xc], 0x20000000
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.00490de0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [edx + ebp*4], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
inc edi
inc eax
mov dword [esp + 0x14], edi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x41349f
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x413555
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0xdc]
call fcn.0046e840
mov edi, eax
test edi, edi
je 0x413522
or dword [edi + 0xc], 0x40000000
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x20]
call fcn.00490de0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [edx + ebp*4], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
inc edi
inc eax
mov dword [esp + 0x14], edi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x413505
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x413355
mov ecx, dword [ebx + 0xd8]
call fcn.0046e6e0
cmp edi, eax
jge 0x4135d3
mov ecx, dword [ebx + 0xd8]
lea esi, [edi + 1]
call fcn.0046e6e0
cmp esi, eax
jge 0x4135d3
mov ecx, dword [ebx + 0xd8]
push esi
call fcn.0046e840
mov edi, eax
mov eax, dword [esp + 0x20]
mov ebp, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.00490de0
mov eax, dword [esp + 0x1c]
inc esi
mov dword [eax + ebp*4], edi
mov ecx, dword [ebx + 0xd8]
call fcn.0046e6e0
cmp esi, eax
jl 0x41359b
mov ecx, dword [ebx + 0xdc]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
xor ebp, ebp
mov dword [esp + 0x74], 0x510244
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebp
call fcn.0046e6e0
push ebp
lea ecx, [esp + 0xd0]
mov dword [esp + 0x84], eax
call fcn.00414300
mov ecx, dword [ebx + 0xb0]
mov byte [esp + 0x114], 3
push ecx
lea ecx, [esp + 0xd0]
call fcn.004703a0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], 0x510268
lea edx, [esp + 0x44]
push 1
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x120], 4
call fcn.00414430
mov eax, dword [esp + 0x48]
mov esi, 0x510238
cmp eax, ebp
mov dword [esp + 0x44], esi
je 0x413687
push eax
call fcn.004dbc23
add esp, 4
mov edi, 0x51022c
mov dword [esp + 0xcc], edi
lea ecx, [esp + 0xcc]
mov byte [esp + 0x114], 6
call fcn.00429b80
lea ecx, [esp + 0xdc]
mov byte [esp + 0x114], 5
call fcn.00413af0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0x51025c
cmp eax, ebp
je 0x4136d4
push eax
call fcn.004dbc23
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], esi
cmp eax, ebp
je 0x4136e9
push eax
call fcn.004dbc23
add esp, 4
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x98]
mov dword [esp + 0x114], 8
cmp eax, ebp
jle 0x413732
mov eax, dword [esp + 0xb0]
xor esi, esi
cmp eax, ebp
jle 0x413732
mov ecx, dword [esp + 0xa0]
mov eax, dword [ecx + esi*4]
push eax
call fcn.004dbc23
mov eax, dword [esp + 0xb4]
add esp, 4
inc esi
cmp esi, eax
jl 0x413713
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xa4]
call fcn.00490de0
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], ebp
mov byte [esp + 0x114], 7
call fcn.00413af0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret