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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7a4e
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
xor esi, esi
or edi, 0xffffffff
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xd8], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd8], 1
call fcn.0043f070
mov ebx, dword [ebp + 0xc]
mov byte [esp + 0xd8], 2
cmp dword [ebx + 0xd4], esi
jne 0x41eab5
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x41eaab
push eax
call fcn.00485fc1
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
jmp 0x41ec43
mov ecx, dword [ebx + 0x270]
sub ecx, dword [ebx + 0x26c]
mov eax, dword [ebx + 0x9c]
sar ecx, 2
mov dword [esp + 0x24], eax
cmp eax, ecx
jb 0x41eadb
call fcn.00497123
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0x26c]
mov eax, dword [edx + eax*4]
cmp dword [eax + 8], edi
je 0x41ec2d
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x104], esi
mov dword [esp + 0x14], esi
jle 0x41ec2d
add ebx, 0xbc
jmp 0x41eb10
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.0041afb0
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x78], ecx
test edi, edi
je 0x41eb42
cmp edi, eax
je 0x41eb47
call fcn.00497123
cmp esi, dword [esp + 0x78]
je 0x41ec12
test edi, edi
jne 0x41ebe1
call fcn.00497123
cmp esi, dword [edi + 0x18]
jne 0x41eb68
call fcn.00497123
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], edx
cmp eax, dword [ecx]
je 0x41ec6f
lea ecx, [esp + 0x1c]
call fcn.00419ab0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x18], ecx
jne 0x41ebf1
jmp 0x41ebd0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0xc]
jge 0x41ebe8
mov dword [esp + 0x18], eax
mov eax, dword [eax]
jmp 0x41ebeb
mov edi, dword [edi]
jmp 0x41eb5e
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41ebd0
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx]
test edi, edi
je 0x41ebff
cmp edi, eax
je 0x41ec04
call fcn.00497123
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x18]
jne 0x41eb51
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
inc eax
cmp eax, dword [edx + 0x104]
mov dword [esp + 0x14], eax
jl 0x41eb10
xor esi, esi
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x41ec3e
push eax
call fcn.00485fc1
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.00485fc1
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ecx + 0x118]
sub esi, dword [ecx + 0x114]
add ecx, 0x108
sar esi, 2
xor edi, edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x24], edi
test esi, esi
jle 0x41ee27
jmp 0x41eca7
mov ecx, dword [esp + 0x80]
push edi
call dword [0x4cf6f0]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
mov dword [esp + 0x80], eax
call fcn.00413910
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x104], 0
mov dword [esp + 0x14], 0
jle 0x41ee1a
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xc8]
push edx
mov ecx, ebx
call fcn.0041afb0
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x88], eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
test edi, edi
je 0x41ed15
cmp edi, eax
je 0x41ed1a
call fcn.00497123
cmp esi, dword [esp + 0x88]
je 0x41edf9
test edi, edi
jne 0x41eda1
call fcn.00497123
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x41ed3c
call fcn.00497123
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
cmp eax, dword [esp + 0x7c]
jne 0x41eda5
push esi
push edi
lea edx, [esp + 0xc4]
push edx
mov ecx, ebx
call fcn.0041c560
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
jmp 0x41edb6
mov eax, dword [edi]
jmp 0x41ed32
lea ecx, [esp + 0x1c]
call fcn.00419ab0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x18], ecx
jne 0x41ede0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0xc]
jge 0x41edd7
mov dword [esp + 0x18], eax
mov eax, dword [eax]
jmp 0x41edda
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41edc6
mov eax, dword [ebx]
test edi, edi
je 0x41edea
cmp edi, eax
je 0x41edef
call fcn.00497123
cmp esi, dword [esp + 0x18]
jne 0x41ed27
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
inc eax
cmp eax, dword [edx + 0x104]
mov dword [esp + 0x14], eax
jl 0x41ece0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
inc edi
cmp edi, esi
mov dword [esp + 0x24], edi
jl 0x41eca0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41ee38
push eax
call fcn.00485fc1
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
push eax
jmp 0x41ec4f