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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
cmp dword [ebx + 0x24], 1
lea ecx, [edi + 4]
mov dword [esp + 0x20], ecx
je 0x41a8eb
mov eax, dword [ecx]
cmp dword [eax + 0x24], 1
je 0x41a8ef
push edi
mov edx, 0x41aaf0
mov ecx, ebx
call fcn.0041a5d0
add esp, 4
mov eax, 0x33
cmp dword [edi + 0x14], 0
mov ecx, 1
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00425576
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
cmp dword [eax + 0x24], 1
je 0x41a901
mov dword [eax + 0x24], 1
inc dword [edi + 0x10]
xor ebx, ebx
mov esi, dword [edi + 8]
lea eax, [esp + 0x3c]
push ecx
mov edx, eax
mov dword [esp + 0x10], ebx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0041e920
lea ecx, [esp + 0x40]
add esp, 4
sub eax, ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
lea ecx, [esi + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.004209c0
add esp, 4
test eax, eax
je 0x41aa14
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x41aa14
mov edx, dword [edx + 0x24]
mov ecx, edx
sub ecx, dword [eax + 0x10]
jns 0x41a96c
mov eax, dword [eax]
jmp 0x41a973
test ecx, ecx
jle 0x41a977
mov eax, dword [eax + 4]
test eax, eax
jne 0x41a961
test eax, eax
je 0x41aa14
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x41aa10
mov esi, dword [edi + 0xc]
lea edx, [esp + 0x54]
mov edi, dword [edi]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0041e920
add esp, 4
lea ecx, [esp + 0x54]
sub eax, ecx
mov edx, ecx
mov ecx, edi
push esi
push eax
call fcn.00421e80
mov edi, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x41a9f6
push ebx
mov edx, eax
mov ecx, edi
call fcn.0041aba0
add esp, 4
cmp eax, 0x33
jne 0x41a9d8
mov ebx, dword [esp + 0xc]
inc ebx
jmp 0x41a903
cmp eax, 1
jne 0x41aacf
mov dword [edi + 0x14], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00425576
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [edi + 0x14], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00425576
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0xc]
mov esi, dword [edi]
lea eax, [esp + 0x6c]
push ecx
mov edx, eax
mov dword [esp + 0x1c], eax
mov ecx, ebx
call fcn.0041e920
lea ecx, [esp + 0x70]
add esp, 4
sub eax, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
lea ecx, [esi + 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.004209c0
add esp, 4
test eax, eax
je 0x41aaca
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, eax
test ecx, ecx
je 0x41aaca
mov esi, dword [edx + 0x24]
nop
mov edx, esi
sub edx, dword [ecx + 0x10]
jns 0x41aa7b
mov ecx, dword [ecx]
jmp 0x41aa82
test edx, edx
jle 0x41aa86
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x41aa70
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x41aaca
cmp dword [ecx + 0x18], 0
je 0x41aaca
test eax, eax
je 0x41aac1
mov edx, dword [edx + 0x24]
nop dword [eax + eax]
mov ecx, edx
sub ecx, dword [eax + 0x10]
jns 0x41aaab
mov eax, dword [eax]
jmp 0x41aab2
test ecx, ecx
jle 0x41aab6
mov eax, dword [eax + 4]
test eax, eax
jne 0x41aaa0
test eax, eax
je 0x41aac1
mov dword [eax + 0x18], 0
inc dword [edi + 0x10]
inc ebx
jmp 0x41aa14
mov eax, 0x33
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00425576
mov esp, ebp
pop ebp
ret