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

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004da330
test eax, eax
jne 0x4dfae2
mov dword [esi + 0x14], 0
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xfc
ret 0x10
mov ecx, dword [esi + 0xc]
mov ebp, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, ebp
mov ebx, dword [ecx + 0x10]
cdq
xor eax, edx
mov esi, dword [ecx + 0x38]
sub eax, edx
mov dword [esp + 0x84], esi
inc eax
sub esi, ebp
mov dword [esp + 0xec], eax
mov eax, dword [ecx + 8]
sub eax, ebx
mov dword [esp + 0x108], esi
cdq
mov edi, eax
mov eax, dword [ecx + 0x3c]
xor edi, edx
sub edi, edx
mov edx, dword [ecx + 0x44]
sub eax, edx
mov ebp, edx
cdq
xor eax, edx
sub ebp, ebx
sub eax, edx
mov dword [esp + 0xd8], ebp
inc edi
lea eax, [eax + ebp + 1]
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], eax
mov eax, dword [ecx + 0x40]
sub eax, dword [esp + 0x84]
cdq
xor eax, edx
sub eax, edx
lea ecx, [eax + esi + 1]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x104], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x8c], ebp
je 0x4dfc46
mov ebx, dword [ecx]
test ebx, ebx
je 0x4dfc46
cmp ebx, 0x4d0bb0
jne 0x4dfba7
mov esi, dword [ecx + 4]
xor edx, edx
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 4]
div dword [esi + 8]
cmp eax, 1
jb 0x4dfbaf
mov esi, eax
jmp 0x4dfbb4
mov esi, dword [ecx + 8]
cmp esi, 1
jae 0x4dfbb4
mov esi, 1
mov eax, edi
xor edx, edx
div esi
mov ecx, dword [ecx + 4]
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc0], 0
test eax, eax
mov dword [esp + 0xc4], eax
ja 0x4dfc05
mov dword [esp + 0xc4], 1
mov eax, dword [esp + 0xc4]
mov edx, eax
imul edx, esi
cmp edx, edi
jae 0x4dfc2c
mov eax, edi
push ecx
sub eax, edx
push edi
push 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
call ebx
mov eax, dword [esp + 0x10]
jmp 0x4dfc51
push ecx
push edi
push 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
call ebx
mov eax, dword [esp + 0x10]
jmp 0x4dfc51
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0x110]
mov esi, dword [esp + 0x118]
mov dword [esp + 0xb4], ecx
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x9c], ecx
jle 0x4e06fb
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x78]
test ecx, ecx
jne 0x4dfcc8
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x40], esi
mov edi, esi
mov ebx, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x6c], esi
add esi, eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0x74], esi
add esi, eax
mov dword [esp + 0x64], esi
add esi, eax
mov dword [esp + 0x68], esi
add esi, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x94], esi
jmp 0x4dfd51
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x40], edi
add edx, 0xfffffffb
mov edi, ebx
mov ebx, dword [esp + 0x60]
cmp ecx, edx
mov dword [esp + 0xa4], edi
mov dword [esp + 0x78], ebx
jle 0x4dfd18
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
jmp 0x4dfd4a
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x11c]
add esi, eax
test ebp, ebp
mov dword [esp + 0x100], esi
jle 0x4e0632
lea edx, [edi + ebp*2]
lea ecx, [edi + ebp]
lea esi, [edi + ebp*2]
add ebp, edx
mov edx, dword [esp + 0x40]
mov eax, edi
sub edx, edi
mov dword [esp + 0xe8], eax
mov dword [esp + 0xb0], edx
mov edx, ebx
mov ebx, dword [esp + 0x60]
sub edx, edi
sub ebx, edi
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x6c]
sub ebx, edi
mov dword [esp + 0xf0], esi
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x74]
sub ebx, edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x64]
sub ebx, edi
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x68]
sub ebx, edi
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x94]
sub ebx, edi
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0xb4]
sub ebx, edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x84], edi
jmp 0x4dfe12
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xfc]
lea edi, [eax + ebx]
xor ebx, ebx
mov dword [esp + 0xac], edi
mov edi, dword [esp + 0xa0]
mov bl, byte [edi + eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [eax]
add edi, ebx
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x98]
mov bl, byte [edi + eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [edx + eax]
xor edx, edx
add edi, ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x90]
mov dl, byte [edi + eax]
mov edi, edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x88]
add edi, edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], edx
mov ebx, dword [ebx + 0x38]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x18]
lea edx, [edx + edi*2]
add edx, ebx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x58], edx
mov edx, dword [edx + ebx*4]
mov ebx, dword [esp + 0x2c]
add edx, dword [ebx + edi*4]
mov ebx, dword [esp + 0x1c]
add ebx, edx
mov edx, dword [esp + 0x14]
lea edx, [ebx + edx*8]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 0x4c]
mov edx, dword [edx + 0x48]
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], ebx
mov edx, dword [edx + edi*4]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add edx, dword [ebx + edi*4]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add edx, dword [edi + ebx*4]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
lea edx, [edx + edi*2]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x54], edx
xor edx, edx
mov dl, byte [edi + eax]
mov edi, dword [esp + 0xb0]
mov bl, byte [edi + eax]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
add edx, ebx
mov ebx, dword [edi + eax*4]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add edx, ebx
mov ebx, dword [edi + eax*4]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add edx, ebx
mov ebx, dword [eax + edi*4]
mov eax, dword [esp + 0x3c]
add edx, ebx
mov ebx, eax
add ebx, edx
mov edx, dword [esp + 0x18]
lea edx, [ebx + edx*8]
mov ebx, dword [esp + 0x38]
add eax, ebx
add edx, ebx
mov ebx, dword [esp + 0x48]
add edx, dword [esp + 0x48]
add eax, ebx
mov ebx, dword [esp + 0x98]
add eax, edi
add edx, edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
xor eax, eax
mov al, byte [edi + ecx]
mov edi, eax
xor eax, eax
mov al, byte [ecx]
add edi, eax
xor eax, eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x7c]
mov al, byte [edi + ecx]
mov edi, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x90]
add edi, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0xa8]
add ebx, eax
xor eax, eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x18], edi
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x2c]
add eax, dword [ebx + edi*4]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add eax, dword [edi + ebx*4]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb0]
lea eax, [eax + edi*2]
mov dword [esp + 0x30], eax
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x28]
add eax, dword [ebx + edi*4]
mov edi, dword [esp + 0x40]
xor ebx, ebx
mov bl, byte [edi + ecx]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, ebx
mov ebx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x54]
add eax, ebx
mov ebx, dword [esp + 0x14]
add eax, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + ebx*8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x48]
add ecx, eax
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + ebx*4]
mov ebx, dword [esp + 0x2c]
add ecx, dword [ebx + edi*4]
mov ebx, dword [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
add eax, ebx
add eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0xa0]
lea eax, [eax + edi*2]
mov edi, dword [esp + 0x98]
add eax, ebx
mov ebx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
xor eax, eax
mov al, byte [ecx + esi]
xor ecx, ecx
mov cl, byte [esi]
add eax, ecx
xor ecx, ecx
mov cl, byte [edi + esi]
mov edi, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x80]
add edi, ecx
xor ecx, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x90]
mov cl, byte [edi + esi]
mov edi, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x88]
add edi, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], edi
mov ecx, dword [ecx + ebx*4]
mov ebx, dword [esp + 0x2c]
add ecx, dword [ebx + edi*4]
mov ebx, dword [esp + 0x14]
lea ecx, [ecx + ebx*8]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
add ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + edi*4]
mov edi, dword [esp + 0x18]
add ecx, dword [ebx + edi*4]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add ecx, dword [edi + ebx*4]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
add ebx, ecx
xor ecx, ecx
mov cl, byte [edi + esi]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
mov dword [esp + 0xf8], ebp
mov ebx, dword [edi + eax*4]
mov edi, dword [esp + 0xb0]
add ebx, ecx
xor ecx, ecx
mov cl, byte [edi + esi]
mov esi, dword [esp + 0x24]
add ebx, ecx
mov ecx, dword [esp + 0x20]
add ebx, dword [ecx + esi*4]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
add ebx, dword [esi + ecx*4]
mov esi, dword [esp + 0x44]
add ebx, esi
mov esi, dword [esp + 0x18]
lea ebx, [ebx + esi*8]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x30]
add dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x38]
add ebx, eax
mov eax, dword [esp + 0x50]
add eax, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x7c]
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x1c]
add eax, esi
lea esi, [edi + ebp]
add ebx, eax
mov eax, dword [esp + 0x80]
lea edi, [ecx + ebp]
mov ecx, dword [esp + 0x88]
add eax, ebp
add ecx, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
lea ecx, [eax + ebp]
mov eax, dword [esp + 0x98]
add eax, ebp
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa0]
add eax, ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
add eax, ebp
mov dword [esp + 0xf4], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0x58], ecx
mov bl, byte [eax]
mov eax, ebx
xor ebx, ebx
mov bl, byte [esi]
add eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov al, byte [ebp]
mov esi, eax
xor eax, eax
mov al, byte [ebx]
add esi, eax
xor eax, eax
mov al, byte [edi]
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov bl, byte [edi]
mov edi, dword [esp + 0x54]
add eax, ebx
xor ebx, ebx
mov bl, byte [ecx]
mov ecx, ebx
xor ebx, ebx
mov bl, byte [edi]
mov edi, dword [esp + 0x18]
add ecx, ebx
xor ebx, ebx
mov bl, byte [edi]
mov edi, ebx
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + edi*4]
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x48], ebx
add ebx, eax
add edx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x3c]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x40]
mov ebx, dword [esp + 0x3c]
add ebx, dword [edx + ecx*4]
lea edx, [ebx + edi*8]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x38], edx
add edx, esi
add ebx, edx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x40]
mov ebx, dword [esp + 0x3c]
add ebx, dword [edx + eax*4]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x4c]
add ebx, dword [edx + edi*4]
lea edx, [ebx + esi*2]
mov ebx, dword [esp + 0x44]
add ebx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x38]
mov edx, dword [edx + esi*4]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x4c]
mov ebx, dword [esp + 0x3c]
add ebx, dword [edx + ecx*4]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x50]
add ebx, dword [edx + edi*4]
mov edx, dword [esp + 0x5c]
add edx, ebx
mov ebx, dword [esp + 0x4c]
lea edx, [edx + eax*8]
add ebx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x50]
add ebx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x1c]
add edx, esi
mov dword [esp + 0x30], edi
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x20]
add edx, eax
add ebx, edx
xor edx, edx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x14], edx
test ebx, ebx
jle 0x4e05cf
add ebx, 0xfffffffc
cmp edx, ebx
jge 0x4e043f
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x18]
add esi, eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x58]
add esi, eax
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xf4]
mov ebx, dword [esp + 0x54]
add esi, eax
add ecx, eax
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
add esi, eax
add edx, eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xa8]
add edi, eax
add ebx, eax
add esi, eax
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x70], ecx
xor ecx, ecx
mov dword [esp + 0xf8], edx
mov cl, byte [esi]
mov dword [esp + 0xa8], esi
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x5c], eax
xor eax, eax
mov al, byte [edx]
mov edx, dword [esp + 0x2c]
mov esi, eax
xor eax, eax
mov cl, byte [edx]
mov edx, dword [esp + 0x24]
mov al, byte [edi]
add esi, ecx
xor ecx, ecx
mov dword [esp + 0xf4], edi
mov cl, byte [edx]
mov edx, dword [esp + 0x58]
add eax, ecx
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x54], ebx
mov cl, byte [edx]
xor edx, edx
mov dl, byte [ebx]
add ecx, edx
xor edx, edx
mov dl, byte [edi]
mov edi, edx
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x38]
mov edx, dword [edx + edi*4]
lea edx, [edx + ecx*2]
add edx, eax
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x40]
mov ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + eax*4]
add ebx, dword [edx + ecx*4]
mov edx, esi
add edx, ebx
lea edx, [edx + edi*8]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 0x48]
mov edx, dword [edx + 0x40]
mov ebx, dword [ebx + ecx*4]
add ebx, dword [edx + eax*4]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x4c]
add ebx, dword [edx + edi*4]
lea ebx, [ebx + esi*2]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x38]
mov ebx, dword [ebx + esi*4]
add ebx, dword [edx + ecx*4]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x50]
add ebx, dword [edx + edi*4]
mov edx, dword [esp + 0x5c]
add edx, ebx
mov ebx, dword [esp + 0x50]
lea edx, [edx + eax*8]
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x34]
add ebx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x44]
add ebx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x4c]
add ebx, edx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x1c]
add ebx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x20]
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x30]
add ebx, edx
mov edx, dword [esp + 0x28]
add edx, edi
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xd8]
sar edx, 8
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x9c]
cmp edx, ebx
jl 0x4e057b
cmp edx, dword [esp + 0xdc]
jge 0x4e057b
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x108]
cmp edx, ebx
jl 0x4e057f
cmp edx, dword [esp + 0x104]
jge 0x4e057f
mov edx, dword [esp + 0x28]
cmp edx, 0xff
jle 0x4e055c
mov edx, dword [esp + 0xac]
mov byte [edx], 0xff
jmp 0x4e056d
test edx, edx
setl bl
dec ebx
and ebx, edx
mov edx, dword [esp + 0xac]
mov byte [edx], bl
add edx, dword [esp + 0x8c]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0xec]
cmp edx, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], edx
jl 0x4e037d
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
mov esi, dword [esp + 0xf0]
mov edx, dword [esp + 0x84]
inc eax
inc ecx
inc esi
inc ebp
dec edx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xf0], esi
mov dword [esp + 0x84], edx
jne 0x4dfe07
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0x100]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x9c]
cmp ecx, dword [esp + 0xd8]
jl 0x4e065b
cmp ecx, dword [esp + 0xdc]
jge 0x4e065b
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0xb4]
add edx, eax
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x4e06c6
mov eax, dword [esp + 0xb8]
dec eax
mov dword [esp + 0xb8], eax
jne 0x4e06c6
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 0x4e06de
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xe0]
inc ecx
cmp ecx, eax
mov dword [esp + 0x9c], ecx
jge 0x4e070d
jmp 0x4dfc82
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword [ecx + 0x14], 0
pop ebx
add esp, 0xfc
ret 0x10
pop edi
pop esi
mov dword [eax + 0x14], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0xfc
ret 0x10
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [edx + 0x14], 0
xor eax, eax
pop ebx
add esp, 0xfc
ret 0x10