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

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x28], ebp
call fcn.004da330
test eax, eax
jne 0x4e2272
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0x104
ret 0x10
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, ebx
mov esi, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0xa4], esi
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
sub esi, ebx
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov dword [esp + 0x110], esi
cdq
mov edi, eax
mov eax, dword [ecx + 0x10]
xor edi, edx
sub edi, edx
mov edx, dword [ecx + 0x44]
mov ebx, edx
inc edi
sub ebx, eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0xe8], edi
cdq
xor eax, edx
mov dword [esp + 0xdc], ebx
sub eax, edx
lea eax, [eax + ebx + 1]
mov dword [esp + 0xe0], eax
mov eax, dword [ecx + 0x40]
sub eax, dword [esp + 0xa4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 0x10]
lea ecx, [eax + esi + 1]
mov esi, dword [ebp + 8]
mov dword [esp + 0x10c], ecx
mov ecx, dword [edx + 0xc]
test esi, esi
mov dword [esp + 0x68], ecx
je 0x4e23d2
mov ebx, dword [esi]
test ebx, ebx
je 0x4e23d2
cmp ebx, 0x4d0bb0
jne 0x4e2333
mov ecx, dword [esi + 4]
xor edx, edx
mov eax, dword [ecx + 0xc]
imul eax, dword [ecx + 4]
div dword [ecx + 8]
cmp eax, 1
jb 0x4e233b
mov ecx, eax
jmp 0x4e2340
mov ecx, dword [esi + 8]
cmp ecx, 1
jae 0x4e2340
mov ecx, 1
mov eax, edi
xor edx, edx
div ecx
mov esi, dword [esi + 4]
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], esi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc0], 0
test eax, eax
mov dword [esp + 0xc4], eax
ja 0x4e2391
mov dword [esp + 0xc4], 1
mov eax, dword [esp + 0xc4]
mov edx, eax
imul edx, ecx
cmp edx, edi
jae 0x4e23b8
mov eax, edi
push esi
sub eax, edx
push edi
push 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
call ebx
mov ecx, dword [esp + 0x68]
jmp 0x4e23dd
push esi
push edi
push 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
call ebx
mov ecx, dword [esp + 0x68]
jmp 0x4e23dd
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x118]
mov esi, dword [esp + 0x120]
xor edx, edx
mov dword [esp + 0xb4], eax
cmp edi, edx
mov dword [esp + 0x98], edx
jle 0x4e2f7d
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x74]
test edx, edx
jne 0x4e2454
mov eax, dword [esp + 0x124]
mov dword [esp + 0x4c], esi
mov ebx, esi
mov edi, esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x70], esi
add esi, eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x6c], esi
add esi, eax
mov dword [esp + 0x80], esi
add esi, eax
mov dword [esp + 0x7c], esi
add esi, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x8c], esi
jmp 0x4e24b6
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x4c], ebx
add eax, 0xfffffffb
mov ebx, edi
mov edi, dword [esp + 0x78]
cmp edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], eax
jg 0x4e24af
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x124]
add esi, eax
test ecx, ecx
mov dword [esp + 0x108], esi
jle 0x4e2ebd
lea edx, [ebx + ecx*2]
lea esi, [ebx + ecx]
lea edi, [ebx + ecx*2]
add ecx, edx
mov edx, dword [esp + 0x4c]
mov eax, ebx
sub edx, ebx
mov dword [esp + 0xe4], eax
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x74]
sub edx, ebx
mov dword [esp + 0xf0], esi
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x78]
sub edx, ebx
mov dword [esp + 0xec], edi
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x70]
sub edx, ebx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x6c]
sub edx, ebx
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x80]
sub edx, ebx
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x7c]
sub edx, ebx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x8c]
sub edx, ebx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xb4]
sub edx, ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x104], edx
mov dword [esp + 0xa4], ebx
jmp 0x4e2582
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0xac]
add edx, eax
mov dword [esp + 0x4c], edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x24], edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x24]
add ebx, edx
xor edx, edx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x94]
mov dl, byte [ebx + eax]
xor ebx, ebx
mov bl, byte [eax]
add edx, ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x24], edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x24]
add ebx, edx
xor edx, edx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xa8]
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x24], edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x24]
add ebx, edx
xor edx, edx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x88]
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x18], eax
lea edx, [ebx + eax*2]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x34]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + ebx*4]
mov ebx, dword [ebp + 0x40]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x1c]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x44]
lea edx, [edx + ebx*2]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x40]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x10]
add eax, dword [ebx + edx*4]
mov edx, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x1c]
add edx, dword [ebx + eax*4]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
add edx, dword [eax + ebx*4]
mov eax, dword [ebp + 0x48]
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebp + 0x50]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebp
add edx, dword [eax + ebx*4]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add edx, eax
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x30]
lea eax, [ebx + eax*2]
mov ebx, dword [esp + 0x1c]
add eax, dword [ebp + ebx*4]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
add eax, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x60]
add eax, edx
add edx, ebp
add eax, ebp
mov ebp, dword [esp + 0x60]
add eax, ebx
mov ebx, dword [esp + 0x44]
add edx, ebp
add eax, ebx
add edx, ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x34], edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0x9c]
mov ebp, edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0x94]
add ebp, edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x20], ebp
mov ebp, edx
xor edx, edx
mov dl, byte [esi]
add ebp, edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x14], ebp
mov ebp, edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0xa8]
add ebp, edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x24], edx
xor edx, edx
mov dl, byte [ebx + esi]
mov ebx, dword [esp + 0x24]
add ebx, edx
xor edx, edx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x1c], ebp
mov dl, byte [ebx + esi]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov esi, dword [ebx + esi*4]
mov ebx, dword [esp + 0x40]
add esi, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x38]
add esi, dword [ebx + edx*4]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
mov edx, dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
add esi, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], esi
add esi, edx
add eax, esi
mov esi, dword [esp + 0x14]
lea edx, [edx + esi*2]
mov esi, dword [esp + 0x64]
mov esi, dword [esi + ebx*4]
lea edx, [esi + edx*2]
mov esi, dword [esp + 0x30]
mov ebx, dword [esi + ebp*4]
mov esi, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [esp + 0x10]
add edx, dword [esi + ebx*4]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
add ebx, edx
mov edx, dword [esp + 0x3c]
add edx, esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x44]
add edx, esi
mov esi, dword [esp + 0x20]
add edx, ebx
mov ebx, dword [esp + 0x18]
add edx, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x14]
mov esi, dword [esi + ebx*4]
mov ebx, dword [esp + 0x10]
lea edx, [edx + ebp*2]
lea esi, [esi + edx*2]
mov edx, dword [esp + 0x40]
add esi, dword [edx + ebx*4]
mov edx, dword [esp + 0x60]
add esi, edx
mov edx, dword [esp + 0x44]
add esi, edx
mov edx, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x18]
lea edx, [ebp + edx*2]
mov ebp, dword [esp + 0x2c]
mov ebp, dword [ebp + ebx*4]
lea edx, [ebp + edx*2]
mov ebp, dword [esp + 0x44]
add edx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x18]
lea edx, [ebx + edx*2]
mov ebx, dword [esp + 0xac]
add edx, ebp
mov dword [esp + 0x50], edx
xor edx, edx
mov dl, byte [ebx + edi]
mov ebx, dword [esp + 0x9c]
mov ebp, edx
xor edx, edx
mov dl, byte [ebx + edi]
mov ebx, dword [esp + 0x94]
add ebp, edx
xor edx, edx
mov dl, byte [ebx + edi]
xor ebx, ebx
mov bl, byte [edi]
add edx, ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [ebx + edi]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0xa0]
xor edx, edx
mov dl, byte [ebx + edi]
mov ebx, dword [esp + 0x24]
add ebx, edx
xor edx, edx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xa8]
mov dl, byte [ebx + edi]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x24], edx
xor edx, edx
mov dl, byte [ebx + edi]
mov ebx, dword [esp + 0x24]
add ebx, edx
xor edx, edx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x88]
mov dl, byte [ebx + edi]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
lea edi, [edi + ebx*2]
mov ebx, dword [esp + 0x30]
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x40]
lea edx, [edx + edi*2]
mov edi, dword [esp + 0x10]
mov edi, dword [ebx + edi*4]
add edx, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
add edx, ebp
add eax, edx
mov edx, dword [esp + 0x14]
mov edx, dword [edi + edx*4]
mov edi, ebx
mov ebx, dword [esp + 0x1c]
add edx, dword [edi + ebx*4]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
add edx, dword [ebx + edi*4]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
mov edi, dword [edi + ebx*4]
mov ebx, dword [esp + 0x18]
add edx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
add edx, ebp
add edi, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x64]
lea edx, [ebp + edx*2]
mov edi, dword [edi + ebx*4]
mov ebx, dword [esp + 0x1c]
lea edi, [edi + edx*2]
mov edx, dword [esp + 0x30]
add edi, dword [edx + ebx*4]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
add edi, dword [ebx + edx*4]
mov ebx, dword [esp + 0x54]
add ebx, edi
mov edi, dword [esp + 0x3c]
add edi, ebp
mov dword [esp + 0x54], ebx
add esi, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x48]
add esi, ebp
mov ebp, dword [esp + 0x58]
add ebp, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x2c]
lea edi, [esi + edi*2]
mov ebx, dword [ebp + edx*4]
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xfc], ecx
add edi, ebx
mov ebx, dword [esp + 0x50]
add ebx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
xor ebx, ebx
lea edx, [edx + edi*2]
add edx, esi
mov esi, dword [esp + 0x84]
add esi, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x88]
add esi, ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0xa8]
add esi, ecx
lea edi, [edx + ecx]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xb0]
add esi, ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x94]
add esi, ecx
add edx, ecx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0xac]
add esi, ecx
mov dword [esp + 0xf4], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x100], edx
mov bl, byte [esi]
mov esi, ebx
xor ebx, ebx
mov bl, byte [edi]
add esi, ebx
xor ebx, ebx
mov bl, byte [ecx]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x40]
xor ecx, ecx
mov edi, ebx
mov ebx, dword [esp + 0x64]
mov cl, byte [esi]
mov esi, dword [esp + 0x1c]
add edi, ecx
xor ecx, ecx
mov cl, byte [edx]
xor edx, edx
mov dl, byte [esi]
mov esi, dword [esp + 0x14]
add ecx, edx
xor edx, edx
mov dl, byte [esi]
mov esi, edx
xor edx, edx
mov dl, byte [ebx]
mov ebx, dword [esp + 0x5c]
add esi, edx
xor edx, edx
mov dl, byte [ebx]
mov ebp, dword [ebp + esi*4]
mov dword [esp + 0x18], edx
lea ebx, [ecx + edx*2]
lea ebx, [ebp + ebx*2]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x44], ebx
add ebx, edi
mov ebp, dword [ebp + edx*4]
add eax, ebx
lea ebx, [edi + ecx*2]
lea ebp, [ebp + ebx*2]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x40]
mov ebx, dword [ebx + esi*4]
add ebx, ebp
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x20]
add ebx, ebp
mov ebp, dword [esp + 0x34]
add ebp, ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov ebp, dword [ebx + 0x34]
mov ebx, dword [ebx + 0x40]
mov ebp, dword [ebp + edi*4]
add ebp, dword [ebx + ecx*4]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x4c]
add ebp, dword [ebx + edx*4]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x48]
mov ebx, dword [ebx + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
add ebx, ebp
mov ebp, dword [esp + 0x54]
add ebp, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebp
lea ebp, [ebx + edi*2]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x50]
mov edx, dword [ebx + edx*4]
lea ebx, [edx + ebp*2]
mov ebp, dword [esp + 0x28]
mov edx, dword [ebp + 0x44]
add ebx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x4c]
add ebx, dword [edx + esi*4]
mov edx, dword [esp + 0x10]
add edx, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
add edx, ebx
mov ebx, dword [esp + 0x58]
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x20]
add edx, ebx
mov ebx, dword [esp + 0x50]
add ebx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x2c]
add edx, edi
add ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xd8]
lea edx, [esi + edx*2]
add edx, ecx
mov dword [esp + 0x3c], edx
xor edx, edx
test ebx, ebx
mov dword [esp + 0x30], edx
jle 0x4e2e4f
add ebx, 0xfffffffc
cmp edx, ebx
jge 0x4e2c97
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
add edi, ecx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x5c]
add edi, ecx
mov esi, dword [esp + 0xfc]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x14]
add edi, ecx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
add edi, ecx
add edx, ecx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x40]
add edi, ecx
add esi, ecx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x24]
add ebx, ecx
add edi, ecx
xor ecx, ecx
mov dword [esp + 0xf4], edx
mov cl, byte [edx]
xor edx, edx
mov dl, byte [edi]
mov dword [esp + 0x24], edi
add ecx, edx
xor edx, edx
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cl, byte [esi]
mov dword [esp + 0xfc], esi
mov esi, dword [esp + 0x1c]
mov edi, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x100], ebx
mov dl, byte [ecx]
xor ecx, ecx
mov cl, byte [ebx]
add edi, edx
xor edx, edx
mov ebx, dword [esp + 0x64]
mov dl, byte [esi]
mov esi, dword [esp + 0x14]
add ecx, edx
xor edx, edx
mov dl, byte [esi]
mov esi, edx
xor edx, edx
mov dl, byte [ebx]
add esi, edx
mov edx, dword [esp + 0x5c]
xor ebx, ebx
mov bl, byte [edx]
mov dword [esp + 0x18], ebx
jmp 0x4e2c9b
mov ebx, dword [esp + 0x18]
lea edx, [esi + ebx*2]
lea ebx, [ecx + ebx*2]
add edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x34]
mov edx, dword [edx + esi*4]
lea edx, [edx + ebx*2]
lea ebx, [edi + ecx*2]
add edx, edi
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 0x44]
mov ebp, dword [esp + 0x18]
mov edx, dword [edx + ebp*4]
lea edx, [edx + ebx*2]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x40]
add edx, dword [ebx + esi*4]
add edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x34]
mov edx, dword [edx + edi*4]
add edx, dword [ebx + ecx*4]
mov ebx, dword [esp + 0x38]
add edx, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x48]
add edx, dword [ebx + esi*4]
mov ebx, dword [esp + 0x20]
add edx, ebx
lea ebx, [ebx + edi*2]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x44]
mov edx, dword [edx + ecx*4]
lea ebx, [edx + ebx*2]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x50]
add ebx, dword [edx + ebp*4]
mov ebp, dword [esp + 0x28]
mov edx, dword [ebp + 0x4c]
add ebx, dword [edx + esi*4]
mov edx, dword [esp + 0x58]
add edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x60]
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x54]
add ebx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x50]
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x2c]
add ebx, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
add ebx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xdc]
add eax, edx
mov edx, dword [esp + 0x98]
sar eax, 8
cmp edx, ebx
jl 0x4e2dfb
mov ebx, dword [esp + 0xe0]
cmp edx, ebx
mov edx, dword [esp + 0x30]
jge 0x4e2dff
cmp edx, dword [esp + 0x110]
jl 0x4e2dff
cmp edx, dword [esp + 0x10c]
jge 0x4e2dff
cmp eax, 0xff
jle 0x4e2de3
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
mov byte [eax], 0xff
mov eax, dword [esp + 0x68]
add ebx, eax
mov dword [esp + 0x4c], ebx
jmp 0x4e2dff
test eax, eax
setl bl
dec ebx
and ebx, eax
mov eax, dword [esp + 0x4c]
mov byte [eax], bl
mov eax, dword [esp + 0x68]
add dword [esp + 0x4c], eax
jmp 0x4e2dff
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xd8]
inc edx
cmp edx, ebx
mov dword [esp + 0x30], edx
jl 0x4e2bce
mov eax, dword [esp + 0xe4]
mov esi, dword [esp + 0xf0]
mov edi, dword [esp + 0xec]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xa4]
inc eax
inc esi
inc edi
inc ecx
dec edx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xa4], edx
jne 0x4e257b
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x98]
cmp edx, dword [esp + 0xdc]
jl 0x4e2edd
cmp edx, dword [esp + 0xe0]
jge 0x4e2edd
mov eax, dword [esp + 0x11c]
add dword [esp + 0xb4], eax
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x4e2f4c
mov eax, dword [esp + 0xb8]
dec eax
mov dword [esp + 0xb8], eax
jne 0x4e2f4c
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc8]
add eax, ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xd4]
push ecx
push edx
push eax
call dword [esp + 0xdc]
test eax, eax
je 0x4e2f64
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0xe8]
inc edx
cmp edx, eax
mov dword [esp + 0x98], edx
jge 0x4e2f8f
jmp 0x4e240e
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret 0x10
pop edi
mov dword [ebp + 0x14], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret 0x10
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret 0x10