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

Disassembly:
nop
nop
mov ecx, dword [esp + 8]
mov esi, dword [ecx + edx*4]
add esi, eax
mov ebp, 0xffffffff
xor ecx, ecx
mov ebx, ecx
cmp byte [esi + ebp + 1], 0
lea ebp, [ebp + 1]
lea ecx, [ecx + 1]
jne 0x402282
test ebp, ebp
je 0x4022c2
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, byte [esi]
imul ebp, dword [edi + 0xa8]
movzx ecx, cx
add ebp, ecx
inc esi
dec ebx
jne 0x4022a2
cmp ebp, dword [esp]
jne 0x4022c9
jmp 0x4022cc
xor ebp, ebp
cmp ebp, dword [esp]
je 0x4022cc
inc edx
jmp 0x402272
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 4]
mov ecx, dword [edx + ecx*4]
add ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xe0]
mov dword [esp], ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov esi, dword [ecx + edx*4]
add esi, eax
mov ebp, 0xffffffff
xor ecx, ecx
mov ebx, ecx
cmp byte [esi + ebp + 1], 0
lea ebp, [ebp + 1]
lea ecx, [ecx + 1]
jne 0x402302
int1
test ebp, ebp
je 0x402342
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, byte [esi]
imul ebp, dword [edi + 0xa8]
movzx ecx, cx
add ebp, ecx
inc esi
dec ebx
jne 0x402322
cmp ebp, dword [esp]
jne 0x402349
jmp 0x40234c
xor ebp, ebp
cmp ebp, dword [esp]
je 0x40234c
inc edx
jmp 0x4022f2
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 4]
mov ecx, dword [edx + ecx*4]
add ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x118]
mov dword [esp], ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov esi, dword [ecx + edx*4]
add esi, eax
mov ebp, 0xffffffff
xor ecx, ecx
mov ebx, ecx
cmp byte [esi + ebp + 1], 0
lea ebp, [ebp + 1]
lea ecx, [ecx + 1]
jne 0x402382
int1
test ebp, ebp
je 0x4023c2
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, byte [esi]
imul ebp, dword [edi + 0xa8]
movzx ecx, cx
add ebp, ecx
inc esi
dec ebx
jne 0x4023a2
cmp ebp, dword [esp]
jne 0x4023c9
jmp 0x4023cc
xor ebp, ebp
cmp ebp, dword [esp]
je 0x4023cc
inc edx
jmp 0x402372
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 4]
mov ecx, dword [edx + ecx*4]
add ecx, eax
mov dword [esp + 0x4c], ecx
dec esp
mov byte [esp + 0x1b], 0
mov eax, 0x40000
mov esi, dword [esp + 0x10]
nop
nop
nop
mov dword [esp + 0x24], eax
test eax, eax
mov ecx, dword [esi + 0x2c]
jne 0x402403
mov eax, dword [ecx + 0xf0]
push eax
push dword [ecx + 0xac]
call dword [esi + 0x24]
test eax, eax
je 0x40251e
mov ebx, eax
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.00402962
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x28]
push ebx
push 5
call eax
test eax, eax
je 0x402443
mov eax, dword [esp + 0x24]
add eax, eax
jmp 0x4023f2
mov eax, dword [esi + 0x2c]
push 0xc8
push dword [eax + 0xac]
call dword [esi + 0x24]
cmp dword [ebx], 0
je 0x40251e
mov ebp, eax
jmp 0x402476
mov byte [esp + 0x1b], 1
mov eax, dword [ebx]
cmp dword [ebx + eax], 0
lea ebx, [ebx + eax]
je 0x40251e
cmp dword [ebx + 0x3c], 0
je 0x402467
mov ecx, ebp
mov edx, 0xc8
call fcn.00402962
mov eax, dword [ebx + 0x3c]
mov ecx, 0xfffffe70
nop
nop
movzx edx, word [eax + ecx + 0x190]
test dx, dx
je 0x4024ac
mov word [ebp + ecx + 0x190], dx
add ecx, 2
jne 0x402492
mov ecx, ebp
call fcn.004028e2
test eax, eax
je 0x4024e2
mov ecx, ebp
jmp 0x4024cb
mov word [ecx], dx
add ecx, 2
dec eax
je 0x4024e2
movzx edx, word [ecx]
lea esi, [edx - 0x41]
cmp si, 0x1a
jae 0x4024c2
add edx, 0x20
jmp 0x4024c2
mov ecx, ebp
call fcn.004028e2
xor ecx, ecx
test eax, eax
je 0x402504
mov edx, ebp
nop
movzx esi, word [edx]
imul ecx, dword [edi + 0xa8]
add ecx, esi
add edx, 2
dec eax
jne 0x4024f2
cmp ecx, dword [edi + 0x70]
je 0x402462
cmp ecx, dword [edi + 0x104]
je 0x402462
jmp 0x402467
mov ebx, dword [edi + 0x11c]
add ebx, dword [esp + 0x20]
lea ebp, [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edx, ebx
push ebp
call fcn.004026a2
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x40256a
mov esi, 0x32
mov ebp, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebp
mov edx, ebx
lea eax, [esp + 0x34]
push eax
call fcn.004026a2
add esp, 4
dec esi
jne 0x402552
lea ebp, [esp + 0x34]
test eax, eax
mov esi, dword [esp + 0x10]
jne 0x402583
mov ecx, esi
mov edx, ebx
push ebp
call fcn.004026a2
add esp, 4
test eax, eax
je 0x402572
mov eax, dword [edi + 0x120]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
mov eax, dword [ecx + eax + 0x78]
mov ebp, dword [ecx + eax + 0x20]
add ebp, ecx
mov edx, dword [ecx + eax + 0x1c]
mov dword [esp], edx
mov eax, dword [ecx + eax + 0x24]
mov dword [esp + 4], eax
xor ebx, ebx
nop
nop
nop
mov esi, dword [ebp + ebx*4]
add esi, dword [esp + 0x14]
mov edx, 0xffffffff
xor ecx, ecx
nop
mov eax, ecx
cmp byte [esi + edx + 1], 0
lea edx, [edx + 1]
lea ecx, [ecx + 1]
jne 0x4025c2
test edx, edx
je 0x402602
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, byte [esi]
imul edx, dword [edi + 0xa8]
movzx ecx, cx
add edx, ecx
inc esi
dec eax
jne 0x4025e2
cmp edx, dword [esp + 8]
jne 0x40260a
jmp 0x40260d
xor edx, edx
cmp edx, dword [esp + 8]
je 0x40260d
inc ebx
jmp 0x4025b2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp]
add edx, ecx
mov eax, dword [esp + 4]
add eax, ecx
movzx eax, word [eax + ebx*2]
add ecx, dword [edx + eax*4]
mov ebx, dword [edi + 0x2c]
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + ebx]
mov edx, dword [esp + 0x1c]
lea esi, [edx + ebx + 8]
add edx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 0
lea edx, [esp + 0x24]
push edx
push dword [edi + 0xac]
push eax
push esi
call ecx
mov eax, dword [ebp + ebx]
test eax, eax
je 0x40267a
mov ecx, dword [ebp + ebx + 4]
dec eax
shr eax, 2
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add dword [esi], ecx
add esi, 4
dec eax
jne 0x402672
mov eax, dword [edi + 0xa0]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + eax + 8]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov dword [ecx + 8], edx
push ecx
call eax
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret