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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfdd6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x509dd8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x98
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.00404600
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42dc6e
mov ecx, eax
call fcn.0042b4f0
mov edi, eax
jmp 0x42dc70
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], edi
test edi, edi
je 0x42dc84
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
mov dword [edi + 0x90], eax
call fcn.00402df0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402df0
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [ebx + 0x30], 0
jne 0x42dcdc
cmp byte [ebx + 0x44], 0
jne 0x42dcdc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x48]
call fcn.00408480
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042d800
jmp 0x42dce9
push dword [ebx + 0x48]
mov ecx, dword [edi + 8]
lea eax, [edi + 8]
push eax
call dword [ecx + 0xc]
push ebx
mov ecx, esi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
call fcn.0042de40
mov ebx, eax
mov al, byte [edi + 0x8c]
mov byte [esi + 0x21], al
test ebx, ebx
jne 0x42de03
cmp dword [edi + 0x78], ebx
jbe 0x42de01
mov eax, dword [edi + 0x74]
cmp byte [ebx + eax], 0
je 0x42ddf7
mov eax, dword [edi + 0x68]
push dword [eax + ebx*4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403250
mov dword [ebp + 0xc], eax
push 0xc
mov byte [ebp - 4], 4
call fcn.00404600
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42dd5e
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00402d30
mov dword [ebp + 0xc], eax
jmp 0x42dd65
mov dword [ebp + 0xc], 0
mov ecx, dword [esi + 0x14]
mov byte [ebp - 4], 4
cmp dword [esi + 0x10], ecx
jne 0x42ddc6
mov eax, ecx
mov edx, 4
shr eax, 2
inc eax
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404600
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [ebp + 8], eax
test ecx, ecx
je 0x42ddaf
shl ecx, 2
push ecx
push dword [esi + 0xc]
push eax
call fcn.004abf30
add esp, 0xc
push dword [esi + 0xc]
call fcn.00404630
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov dword [eax + ecx*4], edx
push dword [ebp - 0x38]
inc dword [esi + 0x10]
call fcn.00404630
mov ecx, dword [edi + 0x80]
add esp, 4
mov eax, dword [ecx + ebx*8]
add dword [esi + 0x18], eax
mov eax, dword [ecx + ebx*8 + 4]
adc dword [esi + 0x1c], eax
inc ebx
cmp ebx, dword [edi + 0x78]
jb 0x42dd13
xor ebx, ebx
push dword [ebp - 0x2c]
call fcn.00404630
push dword [ebp - 0x20]
call fcn.00404630
mov ecx, dword [edi]
add esp, 8
mov dword [ebp - 4], 0xffffffff
push edi
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8