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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x4ba010]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x24]
add ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
xor ebx, ebx
shr edx, 1
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebx
movsx eax, byte [esi + 0x44]
mov edi, dword [esi + eax*4 + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
test eax, eax
jne 0x41ef14
cmp byte [edi + 0xc], al
je 0x41f0ab
lea edx, [esi + 0x7c]
push edx
call fcn.0041ed90
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x41f0ab
mov byte [esi + 0x44], 1
mov dword [esi + 0x50], eax
jmp 0x41eed8
cmp byte [edi + 0xc], 0
jne 0x41ef28
movzx edx, word [edi + 0x14]
cmp edx, dword [esp + 0x1c]
jle 0x41f0ab
mov edx, dword [esi + eax*4 + 0x74]
movzx eax, word [esi + eax*2 + 0x4e]
mov ebx, dword [edx + 0x48]
test byte [ebx + 0x18], 4
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x10], edx
je 0x41ef6d
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebx + 0x14]
jb 0x41ef6d
cmp dword [eax + 0x68], 0
je 0x41efaa
mov ecx, ebx
call fcn.0040e980
test eax, eax
je 0x41ef69
push ebx
call fcn.00411ae0
add esp, 4
jmp 0x41ef98
xor eax, eax
jmp 0x41ef98
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41ef78
mov ebx, ecx
jmp 0x41ef9e
mov edx, dword [eax + 0x9c]
cmp edx, dword [eax + 0xa0]
jbe 0x41ef91
push ebx
call fcn.00413060
add esp, 4
jmp 0x41ef98
mov eax, ebx
call fcn.00412f70
mov edx, dword [esp + 0x10]
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x41f03b
cmp byte [edi + 3], 0
je 0x41efe7
cmp byte [edi + 0xc], 1
jne 0x41efe7
mov ax, word [edi + 0x1a]
cmp ax, word [edi + 0x16]
jne 0x41efe7
cmp dword [edx + 4], 1
je 0x41efe7
movzx ecx, word [edx + 0x16]
cmp ecx, dword [esp + 0x18]
jne 0x41efe7
lea eax, [esp + 0x2c]
push eax
push edi
push edx
call fcn.0041d850
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
jmp 0x41f03b
mov ecx, dword [esi + 4]
mov ebx, dword [ecx + 0x20]
call fcn.0040d810
movzx edx, byte [esi + 0x43]
mov ecx, dword [esp + 0x10]
mov edi, eax
and edx, 1
xor eax, eax
cmp dword [esp + 0x28], 1
push edx
mov edx, dword [esp + 0x1c]
sete al
push eax
push ecx
mov ecx, edi
call fcn.0041dab0
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0xc], ebx
test eax, eax
je 0x41f033
mov esi, eax
call fcn.0040d920
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
mov byte [edi + 0xc], 0
test byte [eax + 0x18], 0x20
mov edi, dword [eax + 0x10]
je 0x41f092
dec dword [edi + 0x80]
mov edx, dword [edi + 0x90]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x90], eax
mov ebx, dword [ecx]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0xa0]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a8b20
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [edi + 0x40]
push eax
call edx
mov ebx, dword [esp + 0x1c]
add esp, 0x10
jmp 0x41f097
call fcn.0040d020
push edi
call fcn.00412750
dec byte [esi + 0x44]
add esp, 4
test ebx, ebx
je 0x41eed8
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41f0b8
call fcn.0040d920
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004a3bc8
mov esp, ebp
pop ebp
ret