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

Disassembly:
sub esp, 0x28
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, ecx
cmp dword [ebp + 0x120], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], esi
jne 0x410042
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048c97b
add esp, 0x28
ret 8
mov eax, dword [ebp]
mov edx, dword [eax + 0x9c]
call edx
cmp esi, eax
jae 0x41002c
push edi
test esi, esi
jne 0x410065
mov eax, dword [ebp + 0x124]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x41008b
mov edx, dword [ebp]
mov eax, dword [edx + 0x9c]
mov esi, dword [ebp + 0x20]
mov ecx, ebp
call eax
sub eax, dword [esp + 0x1c]
lea ecx, [eax + eax*8 - 9]
mov edx, dword [esi + ecx*4]
mov edi, dword [esi + ecx*4 + 4]
lea eax, [esi + ecx*4]
mov dword [esp + 0x14], edx
test edi, edi
je 0x410174
mov edx, dword [edi + 0xc4]
test edx, edx
je 0x410174
cmp ebx, dword [edx + 0x78]
jae 0x410174
mov ecx, dword [edx + 0x74]
mov eax, dword [ecx + ebx*4]
mov esi, dword [eax + 0x20]
lea ecx, [eax + 0x10]
mov dword [esp + 0x18], esi
call fcn.004111a0
test al, al
je 0x4100cf
mov eax, dword [edx + 0x74]
mov ecx, dword [eax + ebx*4]
test byte [ecx + 0x1c], 4
je 0x4100d7
test esi, esi
jg 0x4101df
mov edx, dword [edx + 0x74]
mov edx, dword [edx + ebx*4]
lea ecx, [edx + 0x10]
call fcn.004111a0
test al, al
je 0x410198
test byte [edx + 0x1c], 4
jne 0x410198
mov edx, dword [edx + 0x14]
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x28]
call edx
test al, 2
je 0x41021a
mov edx, dword [edi + 0xc4]
mov eax, dword [edx + 0x44]
xor esi, esi
test eax, eax
je 0x410216
mov ecx, dword [edx + 0x40]
mov ebx, dword [esp + 0x18]
cmp dword [ecx], ebx
je 0x410136
inc esi
add ecx, 4
cmp esi, eax
jb 0x410121
jmp 0x410216
cmp esi, dword [edx + 0x54]
setb al
test al, al
jne 0x410216
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov eax, dword [esp + 0x20]
mov ecx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0040f110
mov ecx, dword [esp + 0x20]
cmp dword [ecx + esi*4], ebx
lea esi, [esp + 0x20]
jg 0x41018b
call fcn.00407c50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048c97b
add esp, 0x28
ret 8
call fcn.00407c50
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test esi, esi
jg 0x4101df
xor ebx, ebx
cmp dword [edi + 0x9c], ebx
je 0x4101a9
or ebx, 0xffffffff
mov ecx, edi
call fcn.0042f630
test al, al
je 0x4101b5
dec ebx
mov eax, dword [edi + 0x4c]
xor esi, esi
test eax, eax
je 0x4101db
xor ebp, ebp
cmp ebx, dword [esp + 0x18]
je 0x41020d
mov ecx, dword [edi + 0x48]
add ecx, ebp
call fcn.00411270
inc esi
sub ebx, eax
add ebp, 0x10
cmp esi, dword [edi + 0x4c]
jb 0x4101c0
mov ebx, dword [esp + 0x10]
mov edx, dword [edi + 0xc4]
mov eax, dword [edx + 0x74]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
pop edi
add edx, edx
pop esi
add edx, edx
pop ebp
sub eax, edx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048c97b
add esp, 0x28
ret 8
mov edx, dword [edi + 0x70]
cmp dword [edx + esi*4], 0
je 0x4101db
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0xc4]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 0x20]
add eax, eax
pop edi
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
pop esi
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
pop ebp
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x28
ret 8