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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
mov eax, 0x41f568
push ebx
push esi
push edi
call fcn.0041379c
mov word [ebp - 0x9c], 8
push 0x1b6
push 4
push 0x41f1ed
push 0
lea edx, [ebp - 0x88]
push edx
call fcn.00409b8c
add dword [ebp - 0x90], 8
mov word [ebp - 0x9c], 0x14
add esp, 0x14
xor ecx, ecx
mov dword [ebp - 0xb0], ecx
xor eax, eax
mov dword [ebp - 0xb4], eax
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040d130
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc4], 0x425be4
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
cmp edx, ecx
jge 0x40290d
lea eax, [ebp - 0xb4]
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040d130
mov ecx, dword [ebp - 0xb4]
add esp, 8
test ecx, ecx
mov edx, dword [ebp - 0xc4]
setne al
and eax, 1
mov byte [edx], al
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425b70
push ecx
push eax
call fcn.0040d130
add esp, 8
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx - 0x74]
shl ecx, 3
lea ecx, [ecx + ecx*8]
push ecx
call fcn.004047c8
pop ecx
mov edx, dword [ebp - 0xc4]
mov dword [edx - 0x70], eax
mov word [ebp - 0x9c], 0x14
mov eax, dword [ebp - 0xc4]
xor esi, esi
lea ebx, [eax - 0x74]
jmp 0x402191
mov eax, esi
shl eax, 3
lea eax, [eax + eax*8]
mov edx, dword [ebx + 4]
add eax, edx
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040d130
lea edi, [esi + esi*8]
mov eax, dword [ebx + 4]
add esp, 8
mov edx, dword [eax + edi*8]
inc edx
jne 0x402044
mov ecx, esi
shl ecx, 3
lea ecx, [ecx + ecx*8]
add ecx, eax
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.0040d130
mov eax, dword [ebx + 4]
add esp, 8
xor edx, edx
mov byte [eax + edi*8 + 4], 1
mov dword [eax + edi*8 + 8], edx
jmp 0x40204c
mov ecx, dword [ebx + 4]
mov byte [ecx + edi*8 + 4], 0
mov edi, esi
shl edi, 3
lea edi, [edi + edi*8]
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x1c
push eax
mov ecx, edi
mov eax, dword [ebx + 4]
add ecx, eax
add ecx, 0x18
push ecx
mov edx, edi
mov ecx, dword [ebx + 4]
add edx, ecx
add edx, 0x14
push edx
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x10
push eax
mov ecx, edi
mov eax, dword [ebx + 4]
add ecx, eax
add ecx, 0xc
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov ecx, edi
mov eax, dword [ebx + 4]
add ecx, eax
add ecx, 0x30
push ecx
mov edx, edi
mov ecx, dword [ebx + 4]
add edx, ecx
add edx, 0x2c
push edx
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x28
push eax
mov ecx, edi
mov eax, dword [ebx + 4]
add ecx, eax
add ecx, 0x24
push ecx
mov edx, edi
mov ecx, dword [ebx + 4]
add edx, ecx
add edx, 0x20
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov edx, edi
mov ecx, dword [ebx + 4]
add edx, ecx
add edx, 0x44
push edx
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x40
push eax
mov ecx, edi
mov eax, dword [ebx + 4]
add ecx, eax
add ecx, 0x3c
push ecx
mov edx, edi
mov ecx, dword [ebx + 4]
add edx, ecx
add edx, 0x38
push edx
mov eax, dword [ebx + 4]
add edi, eax
add edi, 0x34
push edi
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
inc esi
mov ecx, dword [ebx]
cmp esi, ecx
jl 0x401ff1
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, str._d_bU.
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040d130
add esp, 8
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx - 0x6c]
shl eax, 2
lea eax, [eax + eax*8]
push eax
call fcn.004047c8
pop ecx
mov edx, dword [ebp - 0xc4]
mov dword [edx - 0x68], eax
xor esi, esi
mov eax, dword [ebp - 0xc4]
lea ebx, [eax - 0x6c]
jmp 0x402396
mov edi, esi
shl edi, 2
lea edi, [edi + edi*8]
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0xc
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040d130
add esp, 8
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x10
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040d130
add esp, 8
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 8
push eax
mov ecx, edi
mov eax, dword [ebx + 4]
add ecx, eax
add ecx, 4
push ecx
mov edx, edi
mov ecx, dword [ebx + 4]
add edx, ecx
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
lea eax, [esi + esi*8]
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edx + eax*4 + 0x10]
test ecx, ecx
jne 0x402294
mov eax, dword [ebx + 4]
add edi, eax
add edi, 0x18
push edi
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
jmp 0x402350
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + eax*4 + 0x10]
dec edx
jne 0x4022d2
mov eax, edi
mov ecx, dword [ebx + 4]
add eax, ecx
add eax, 0x18
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
mov edx, dword [ebx + 4]
add edi, edx
add edi, 0x1c
push edi
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040cf74
add esp, 8
jmp 0x402350
mov edx, dword [ebx + 4]
mov ecx, dword [edx + eax*4 + 0x10]
cmp ecx, 2
jne 0x402312
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x18
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
mov ecx, dword [ebx + 4]
add edi, ecx
add edi, 0x1c
push edi
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
jmp 0x402350
mov edx, dword [ebx + 4]
mov ecx, dword [edx + eax*4 + 0x10]
cmp ecx, 3
jne 0x402350
mov eax, edi
mov edx, dword [ebx + 4]
add eax, edx
add eax, 0x18
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040cf74
add esp, 8
mov eax, dword [ebx + 4]
add edi, eax
add edi, 0x20
push edi
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
call 0x41e57e
lea edi, [esi + esi*8]
mov edx, dword [ebx + 4]
mov dword [edx + edi*4 + 0x14], eax
push 0x186a1
lea eax, [esi + esi*8]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + eax*4 + 0x14]
push eax
call 0x41e590
push 1
mov edx, dword [ebx + 4]
mov ecx, dword [edx + edi*4 + 0x14]
push ecx
call 0x41e596
push 0x186ac
mov eax, dword [ebx + 4]
mov edx, dword [eax + edi*4 + 0x14]
push edx
call 0x41e58a
inc esi
mov ecx, dword [ebx]
cmp esi, ecx
jl 0x4021ee
lea eax, [ebp - 0xbc]
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040d130
mov ecx, dword [ebp - 0xbc]
add esp, 8
test ecx, ecx
mov edx, dword [ebp - 0xc4]
setne al
and eax, 1
mov byte [edx - 0x64], al
test al, al
je 0x4028ec
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425bdc
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.0040d130
add esp, 8
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425b8c
push edx
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425b88
push ecx
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425b84
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425bd8
push ecx
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425bd4
push eax
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425bd0
push edx
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425bcc
push eax
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425bc8
push edx
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425bc4
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425bb4
push edx
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425bb0
push ecx
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425bac
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425bc0
push ecx
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425bbc
push eax
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425bb8
push edx
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425b98
push eax
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425b94
push edx
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425b90
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov edx, dword [ebp - 0xb8]
shl edx, 3
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
add edx, 0x425ba4
push edx
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425ba0
push ecx
mov eax, dword [ebp - 0xb8]
shl eax, 3
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x425b9c
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
push eax
call fcn.0040cf74
add esp, 8
mov ecx, dword [ebp - 0xb8]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x425ba8
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.0040cf74
add esp, 8
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx - 8]
shl ecx, 3
lea ecx, [ecx + ecx*4]
push ecx
call fcn.004047c8
pop ecx
mov edx, dword [ebp - 0xc4]
mov dword [edx - 4], eax
push 0
call 0x41c810
pop ecx
push eax
call 0x419728
pop ecx
mov word [ebp - 0x9c], 0x14
mov eax, dword [ebp - 0xc4]
xor esi, esi
lea ebx, [eax - 8]
jmp 0x4028e2
lea edi, [esi + esi*4]
mov eax, dword [ebx + 4]
mov edx, dword [ebx - 0x58]
mov dword [eax + edi*8], edx
mov ecx, dword [ebx - 0x54]
mov dword [eax + edi*8 + 4], ecx
mov edx, dword [ebx - 0x50]
mov dword [eax + edi*8 + 8], edx
call 0x419750
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0xc8], edx
fild dword [ebp - 0xc8]
fstp dword [ebp - 0xc0]
mov word [ebp - 0x9c], 0x14
fld xword [0x402948]
fmul dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebx - 0x40]
fsub dword [ebx - 0x4c]
fmul dword [ebp - 0xc0]
fadd dword [ebx - 0x4c]
mov eax, dword [ebx + 4]
fstp dword [eax + edi*8 + 0x18]
call 0x419750
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0xc8], edx
fild dword [ebp - 0xc8]
fstp dword [ebp - 0xc0]
fld xword [0x402948]
fmul dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebx - 0x48]
fsub dword [ebx - 0x3c]
fmul dword [ebp - 0xc0]
fadd dword [ebx - 0x4c]
mov eax, dword [ebx + 4]
fstp dword [eax + edi*8 + 0x1c]
call 0x419750
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0xc8], edx
fild dword [ebp - 0xc8]
fstp dword [ebp - 0xc0]
fld xword [0x402948]
fmul dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebx - 0x38]
fsub dword [ebx - 0x44]
fmul dword [ebp - 0xc0]
fadd dword [ebx - 0x44]
mov eax, dword [ebx + 4]
fstp dword [eax + edi*8 + 0x20]
call 0x419750
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0xc8], edx
fild dword [ebp - 0xc8]
fstp dword [ebp - 0xc0]
fld xword [0x402948]
fmul dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebx - 0x24]
fsub dword [ebx - 0x30]
fmul dword [ebp - 0xc0]
fadd dword [ebx - 0x30]
mov eax, dword [ebx + 4]
fstp dword [eax + edi*8 + 0xc]
call 0x419750
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0xc8], edx
fild dword [ebp - 0xc8]
fstp dword [ebp - 0xc0]
fld xword [0x402948]
fmul dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebx - 0x20]
fsub dword [ebx - 0x2c]
fmul dword [ebp - 0xc0]
fadd dword [ebx - 0x2c]
mov eax, dword [ebx + 4]
fstp dword [eax + edi*8 + 0x10]
call 0x419750
mov ecx, 0x2710
cdq
idiv ecx
mov dword [ebp - 0xc8], edx
fild dword [ebp - 0xc8]
fstp dword [ebp - 0xc0]
fld xword [0x402948]
fmul dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [ebx - 0x20]
fsub dword [ebx - 0x2c]
fmul dword [ebp - 0xc0]
fadd dword [ebx - 0x28]
mov eax, dword [ebx + 4]
fstp dword [eax + edi*8 + 0x14]
inc esi
mov eax, dword [ebx]
cmp esi, eax
jl 0x402714
inc dword [ebp - 0xb8]
add dword [ebp - 0xc4], 0x78
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
cmp edx, ecx
jl 0x401f68
lea eax, [ebp - 0x88]
push eax
call fcn.0040ebe4
pop ecx
sub dword [ebp - 0x90], 8
push 2
lea edx, [ebp - 0x88]
push edx
call fcn.00409c84
add esp, 8
mov ecx, dword [ebp - 0xac]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret