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

Disassembly:
push 0xffffffffffffffff
push 0x484acd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x30]
push edi
xor ebx, ebx
push ecx
mov ecx, dword [esp + 0x68]
mov edi, 0xd
push ebx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call fcn.00412f00
cmp dword [eax], 8
jne 0x411d02
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push 0x49766c
mov ecx, eax
call fcn.00410f90
mov esi, dword [eax]
xor edx, edx
cmp esi, 1
sete dl
mov eax, edx
cmp eax, ebx
jne 0x4118d2
lea ecx, [esp + 0x24]
call fcn.00411340
jmp 0x411d02
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [ebp + 4], eax
call fcn.00411340
cmp dword [ebp + 4], ebx
jle 0x411d02
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push 0x497664
mov ecx, eax
call fcn.00410f90
mov esi, dword [eax]
xor edx, edx
cmp esi, 1
sete dl
mov eax, edx
cmp eax, ebx
jne 0x411923
lea ecx, [esp + 0x24]
call fcn.00411340
jmp 0x411d02
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esi
call fcn.00411340
cmp esi, ebx
jl 0x411d02
mov esi, dword [ebp + 4]
mov eax, esi
shl eax, 4
push eax
call fcn.0047c23c
add esp, 4
cmp eax, ebx
je 0x411965
lea edx, [esi - 1]
mov ecx, eax
cmp edx, ebx
jl 0x411967
inc edx
mov dword [ecx], edi
add ecx, 0x10
dec edx
jne 0x41195b
jmp 0x411967
xor eax, eax
mov ecx, dword [ebp + 4]
push 4
push ecx
mov dword [ebp + 8], eax
call fcn.0041ab50
mov edx, dword [ebp + 4]
push 4
push edx
mov dword [ebp + 0xc], eax
call fcn.0041ab50
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
add esp, 0x10
mov eax, dword [ecx]
call dword [eax + 8]
push 0x28
mov dword [esp + 0x28], 5
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x5c], ebx
je 0x4119cb
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
push ecx
mov ecx, eax
call fcn.0041d940
mov ebx, eax
push 0x38
mov dword [esp + 0x60], 0xffffffff
call fcn.0047c23c
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x5c], 1
je 0x411a32
push 0xa0
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x411a18
mov edx, dword [esp + 0x64]
push ebx
push edx
mov ecx, eax
call fcn.0041b4d0
jmp 0x411a1a
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x6c]
mov ecx, esi
push eax
mov byte [esp + 0x68], 1
call fcn.0041acd0
mov edi, eax
jmp 0x411a34
xor edi, edi
mov eax, dword [ebp + 4]
xor esi, esi
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
jle 0x411ae6
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, edi
call fcn.0041ad50
push 0
push 0
push 0
push 0
lea edx, [esp + 0x54]
push 0
push edx
mov ecx, edi
call fcn.0041ad50
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
jne 0x411b67
cmp dword [esp + 0x44], eax
jne 0x411b67
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [eax + esi*4], ecx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
mov dword [eax + esi*4], edx
call fcn.00411340
lea ecx, [esp + 0x44]
call fcn.00411340
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x68]
test eax, eax
jl 0x411b49
mov eax, dword [ecx + esi*4]
test eax, eax
jl 0x411b49
test esi, esi
jle 0x411ada
cmp eax, dword [ecx + esi*4 - 4]
jl 0x411b49
mov eax, dword [ebp + 4]
inc esi
cmp esi, eax
jl 0x411a49
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x411afe
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
cmp eax, 0xffffffff
jne 0x411af2
xor ebx, ebx
cmp edi, ebx
je 0x411b14
mov ecx, edi
call fcn.0041ad20
push edi
call fcn.0047c265
add esp, 4
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
cmp esi, dword [edi]
jge 0x411b30
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
inc esi
cmp esi, eax
jl 0x411b20
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jle 0x411cf9
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
jmp 0x411b9b
test edi, edi
je 0x411b61
mov ecx, edi
call fcn.0041ad20
push edi
call fcn.0047c265
mov ecx, dword [esp + 0x6c]
add esp, 4
push ecx
jmp 0x411cfa
lea ecx, [esp + 0x24]
call fcn.00411340
lea ecx, [esp + 0x44]
call fcn.00411340
test edi, edi
je 0x411b8d
mov ecx, edi
call fcn.0041ad20
push edi
call fcn.0047c265
add esp, 4
mov edx, dword [esp + 0x68]
push edx
jmp 0x411cfa
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
mov ebx, 5
cmp ecx, eax
mov dword [esp + 0x24], ebx
push 0x28
jne 0x411bde
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x5c], 3
je 0x411c13
mov edx, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x28]
push 0
push ecx
push edx
mov ecx, eax
call fcn.0041d940
jmp 0x411c15
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x5c], 4
je 0x411c13
mov ecx, dword [edi + 4]
mov esi, dword [edi]
sub ecx, esi
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push edx
push ecx
mov ecx, eax
call fcn.0041d940
jmp 0x411c15
xor eax, eax
push 0x38
mov dword [esp + 0x60], 0xffffffff
mov esi, eax
call fcn.0047c23c
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0x5c], ebx
je 0x411c7a
push 0xa0
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x5c], 6
je 0x411c60
mov edx, dword [esp + 0x64]
push esi
push edx
mov ecx, eax
call fcn.0041b4d0
jmp 0x411c62
xor eax, eax
push 0
push eax
mov eax, dword [esp + 0x6c]
mov ecx, edi
push eax
mov byte [esp + 0x68], 5
call fcn.0041acd0
mov edi, eax
jmp 0x411c7c
xor edi, edi
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 0
add ecx, ebx
push 0
push ecx
mov ecx, edi
mov dword [esp + 0x74], 0xffffffff
call fcn.0041ad50
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x411cb7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
cmp eax, 0xffffffff
jne 0x411cab
test edi, edi
je 0x411ccb
mov ecx, edi
call fcn.0041ad20
push edi
call fcn.0047c265
add esp, 4
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
inc ecx
add edi, 4
add esi, 0x10
cmp ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
jl 0x411b97
mov edi, dword [esp + 0x68]
push edi
call fcn.0041ac80
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00411340
mov ecx, dword [esp + 0x54]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8