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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43f704
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebp
mov ebp, dword [esp + 0x258]
test ebp, ebp
push esi
mov esi, ecx
jne 0x40dc41
xor al, al
jmp 0x40e5ab
push edi
mov edi, dword [esi + 0x80]
inc edi
push 0x444640
lea ecx, [esp + 0x5c]
mov dword [esi + 0x80], edi
call dword [0x4431e4]
mov eax, dword [0x4551ec]
push eax
lea ecx, [esp + 0x104]
mov dword [esp + 0x25c], 0
call dword [0x4431e4]
mov ecx, dword [esi + 0x108]
mov edx, dword [ebp + 0x410]
movzx eax, word [ebp + 0xe]
mov edi, dword [0x44312c]
push ecx
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esi + 0xc8]
push ecx
push edx
push eax
push 0x4449e0
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x120]
push 0
push edx
mov byte [esp + 0x280], 1
call edi
add esp, 0x28
lea ecx, [esp + 0x100]
mov byte [esp + 0x258], 0
call dword [0x4431ec]
lea ecx, [esp + 0x58]
mov dword [esp + 0x258], 0xffffffff
call dword [0x4431ec]
mov eax, dword [esi + 0x108]
dec eax
cmp eax, 6
ja case.default.0x40dd00
push ebx
jmp dword [eax*4 + 0x40e5c4]
mov eax, dword [esi + 0xd8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc0]
jb 0x40e230
mov edx, dword [eax + 0x54]
inc edx
cmp ecx, edx
ja 0x40e230
movzx ecx, word [ebp + 0xe]
mov ebx, dword [0x4430f4]
mov dword [eax + 0xbc], ecx
mov eax, dword [esi + 0xd8]
add eax, 0x3c
push eax
call ebx
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x38]
test ecx, ecx
jne 0x40ddf9
push 0x444640
lea ecx, [esp + 0x98]
call dword [0x4431e4]
mov edx, dword [0x4551ec]
push edx
lea ecx, [esp + 0x220]
mov dword [esp + 0x260], 4
call dword [0x4431e4]
push 0x4449b0
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x224]
push 0
push ecx
mov byte [esp + 0x26c], 5
call edi
add esp, 0x10
lea ecx, [esp + 0x21c]
mov byte [esp + 0x25c], 4
call dword [0x4431ec]
lea ecx, [esp + 0x94]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
mov edx, dword [esi + 0xd8]
add edx, 0x3c
push edx
call dword [0x4430f8]
mov ecx, dword [esi + 0xd8]
push 1
call fcn.00408fe0
jmp case.0x40dd00.4
add eax, 0x3c
push eax
call dword [0x4430f8]
mov ecx, dword [esi + 0xd8]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 0xc0]
jbe 0x40de23
mov dword [ecx + 0xc0], eax
mov dword [esi + 0x78], 0
jmp 0x40de5f
mov edx, dword [esi + 0x78]
inc edx
mov eax, edx
cmp eax, 3
mov dword [esi + 0x78], edx
jl 0x40de58
mov eax, dword [esi + 0x40]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.00409110
test al, al
je 0x40de5f
mov eax, dword [esi + 0xa0]
inc eax
mov dword [esi + 0x78], 0
mov dword [esi + 0xa0], eax
jmp 0x40de5f
push 0
call fcn.00408fe0
mov eax, dword [esi + 0xd8]
add eax, 0x9c
push eax
call ebx
mov eax, dword [esi + 0xd8]
add eax, 0x3c
push eax
call ebx
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x34]
mov ebx, dword [ecx]
cmp ebx, ecx
mov dword [esp + 0x10], 0
je 0x40e132
mov edi, dword [ebx + 8]
mov eax, dword [edi + 4]
cmp eax, dword [ebp + 8]
jae 0x40df89
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
inc edx
cmp eax, ecx
mov dword [esp + 0x10], edx
jne 0x40ded0
cmp dword [edi + 0x418], 1
jne 0x40ded0
mov eax, dword [ebp + 0x414]
sub eax, dword [edi + 0x414]
push eax
mov ecx, esi
call fcn.0040d2f0
push 0x444640
lea ecx, [esp + 0xd0]
call dword [0x4431e4]
mov ecx, dword [0x4551ec]
push ecx
lea ecx, [esp + 0x178]
mov dword [esp + 0x260], 6
call dword [0x4431e4]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0xc8]
push edi
push edx
push eax
push 0x44498c
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x188]
push 0
push edx
mov byte [esp + 0x278], 7
call dword [0x44312c]
add esp, 0x1c
lea ecx, [esp + 0x174]
mov byte [esp + 0x25c], 6
call dword [0x4431ec]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, dword [esi + 0xd8]
add ecx, 0x30
call fcn.0040dbb0
mov ecx, dword [0x457b20]
mov ebx, dword [eax]
push edi
call fcn.00409250
jmp 0x40e118
mov eax, dword [ebp + 0x410]
test eax, eax
je 0x40e12c
push 0x444640
lea ecx, [esp + 0x28]
call dword [0x4431e4]
mov ecx, dword [0x4551ec]
push ecx
lea ecx, [esp + 0x1e8]
mov dword [esp + 0x260], 8
call dword [0x4431e4]
push 0x444978
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1ec]
push 0
push eax
mov byte [esp + 0x26c], 9
call dword [0x44312c]
add esp, 0x10
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x25c], 8
call dword [0x4431ec]
lea ecx, [esp + 0x24]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
mov edx, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0x410]
sub eax, edx
mov edx, eax
sar edx, 3
cmp edx, ecx
jge 0x40e12c
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
and al, byte [edx + ebp + 0x10]
mov byte [esp + 0x17], al
je 0x40e116
mov eax, dword [edi + 4]
cmp eax, dword [ebp + 4]
jne 0x40e070
cmp dword [edi + 0x418], 1
jne 0x40e070
mov ecx, dword [ebp + 0x414]
sub ecx, dword [edi + 0x414]
push ecx
mov ecx, esi
call fcn.0040d2f0
mov edx, dword [esp + 0x10]
inc edx
push 0x444640
lea ecx, [esp + 0x140]
mov dword [esp + 0x14], edx
call dword [0x4431e4]
mov edx, dword [0x4551ec]
push edx
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x260], 0xa
call dword [0x4431e4]
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0xc8]
push edi
push eax
push ecx
push 0x44498c
lea edx, [esp + 0x14c]
push edx
lea eax, [esp + 0x1c0]
push 0
push eax
mov byte [esp + 0x278], 0xb
call dword [0x44312c]
add esp, 0x1c
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x25c], 0xa
call dword [0x4431ec]
lea ecx, [esp + 0x13c]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
push ebx
lea ecx, [esp + 0x20]
push ecx
jmp 0x40df68
mov ebx, dword [ebx]
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x34]
add eax, 0x30
cmp ebx, ecx
jne 0x40de94
mov edi, dword [0x44312c]
mov eax, dword [esi + 0xd8]
mov ebx, dword [0x4430f8]
add eax, 0x3c
push eax
call ebx
mov eax, dword [esi + 0xd8]
add eax, 0x9c
push eax
call ebx
mov edx, dword [esi + 0xd8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xd8]
dec eax
cmp ecx, eax
jne 0x40e1f4
push 0x444640
lea ecx, [esp + 0x7c]
call dword [0x4431e4]
mov ecx, dword [0x4551ec]
push ecx
mov ebx, 0xc
lea ecx, [esp + 0x44]
mov dword [esp + 0x260], ebx
call dword [0x4431e4]
mov edx, dword [esi + 0xd8]
mov eax, dword [edx + 0xd8]
push eax
push 0x444940
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x4c]
push 0
push edx
mov byte [esp + 0x270], 0xd
call edi
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x25c], bl
call dword [0x4431ec]
lea ecx, [esp + 0x78]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
mov eax, dword [esi + 0x20]
push eax
call dword [0x4430a4]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle case.0x40dd00.4
mov edi, ebx
mov ecx, dword [esi + 0xd8]
mov ecx, dword [ecx + 0xc4]
call fcn.004086e0
dec edi
jne 0x40e202
test ebx, ebx
jle case.0x40dd00.4
mov ecx, dword [esi + 0xd8]
push 0
call fcn.00408fe0
jmp case.0x40dd00.4
push 0x444640
lea ecx, [esp + 0xec]
call dword [0x4431e4]
mov edx, dword [0x4551ec]
mov ebx, 2
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x260], ebx
call dword [0x4431e4]
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0xc0]
mov eax, dword [ebp + 8]
inc ecx
push ecx
mov ecx, dword [esi + 0xc8]
push edx
push eax
push ecx
push 0x4448f8
lea edx, [esp + 0xfc]
push edx
lea eax, [esp + 0xc8]
push 0
push eax
mov byte [esp + 0x27c], 3
call edi
add esp, 0x20
lea ecx, [esp + 0xb0]
mov byte [esp + 0x25c], bl
call dword [0x4431ec]
lea ecx, [esp + 0xe8]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
jmp case.0x40dd00.4
mov dword [esi + 0x108], 8
jmp case.0x40dd00.4
mov dword [esi + 0x108], 9
jmp case.0x40dd00.4
mov eax, dword [esi + 0xd8]
add eax, 0x3c
push eax
call dword [0x4430f4]
mov ecx, dword [esi + 0xd8]
mov eax, dword [ecx + 0x38]
test eax, eax
jbe 0x40e58b
mov eax, dword [ecx + 0x34]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x34]
mov dword [esp + 0x10], eax
je 0x40e58b
jmp 0x40e330
mov eax, dword [esp + 0x10]
jmp 0x40e330
mov ebx, dword [eax + 8]
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 8]
jae 0x40e572
cmp dword [esi + 0x108], 3
je 0x40e54a
push 0x444640
lea ecx, [esp + 0x15c]
call dword [0x4431e4]
mov edx, dword [0x4551ec]
push edx
lea ecx, [esp + 0x124]
mov dword [esp + 0x260], 0xe
call dword [0x4431e4]
movzx eax, word [ebp + 0xe]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xc8]
push eax
push ecx
push edx
push 0x4448c0
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x134]
push 0
push ecx
mov byte [esp + 0x278], 0xf
call edi
add esp, 0x1c
lea ecx, [esp + 0x120]
mov byte [esp + 0x25c], 0xe
call dword [0x4431ec]
lea ecx, [esp + 0x158]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
movzx edx, word [ebp + 0xe]
mov eax, dword [esi + 0xd8]
mov dword [eax + 0xbc], edx
cmp dword [ebx + 0x418], 1
jne 0x40e40b
mov ecx, dword [ebp + 0x414]
sub ecx, dword [ebx + 0x414]
push ecx
mov ecx, esi
call fcn.0040d2f0
mov al, byte [esi + 0xc4]
test al, al
push 0x444640
jne 0x40e4b4
lea ecx, [esp + 0x1cc]
call dword [0x4431e4]
mov edx, dword [0x4551ec]
push edx
lea ecx, [esp + 0x194]
mov dword [esp + 0x260], 0x10
call dword [0x4431e4]
push 0x4448b4
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x198]
push 0
push ecx
mov byte [esp + 0x26c], 0x11
call edi
add esp, 0x10
lea ecx, [esp + 0x190]
mov byte [esp + 0x25c], 0x10
call dword [0x4431ec]
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
mov edx, dword [esi + 0x20]
push edx
mov dword [esi + 0x108], 3
call dword [0x4430a4]
jmp 0x40e546
lea ecx, [esp + 0x23c]
call dword [0x4431e4]
mov eax, dword [0x4551ec]
push eax
lea ecx, [esp + 0x204]
mov dword [esp + 0x260], 0x12
call dword [0x4431e4]
push 0x4448a8
lea ecx, [esp + 0x23c]
push ecx
lea edx, [esp + 0x208]
push 0
push edx
mov byte [esp + 0x26c], 0x13
call edi
add esp, 0x10
lea ecx, [esp + 0x200]
mov byte [esp + 0x25c], 0x12
call dword [0x4431ec]
lea ecx, [esp + 0x238]
mov dword [esp + 0x25c], 0xffffffff
call dword [0x4431ec]
mov dword [esi + 0x10c], 4
mov ecx, dword [0x457b14]
push esi
call fcn.00418820
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xd8]
push eax
lea edx, [esp + 0x24]
push edx
add ecx, 0x30
call fcn.0040dbb0
mov ecx, dword [0x457b20]
push ebx
call fcn.00409250
jmp 0x40e578
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xd8]
mov edx, dword [esp + 0x10]
cmp edx, dword [ecx + 0x34]
jne 0x40e327
mov eax, dword [esi + 0xd8]
add eax, 0x3c
push eax
call dword [0x4430f8]
pop ebx
mov ecx, dword [0x457b20]
push ebp
call fcn.00409250
mov al, 1
pop edi
mov ecx, dword [esp + 0x24c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x250
ret 4