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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea8
mov ebx, eax
mov dword [esp], edx
mov al, byte [ebx + 0xe5]
mov byte [esp + 0x14], al
movzx esi, byte [ebx + 0x1b9]
mov eax, dword [esp]
mov edx, dword [esp]
movzx eax, byte [eax + 0xb]
add eax, 7
mov ebp, dword [edx + 4]
test eax, eax
jns 0x4b74e3
add eax, 7
sar eax, 3
mov edx, dword [ebx + 0xa8]
mov dword [esp + 4], edx
mov ecx, dword [ebx + 0xac]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x7fffffff
test byte [esp + 0x14], 8
je 0x4b7643
mov dl, byte [esp + 0x14]
cmp dl, 8
je 0x4b7643
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x20]
cmp ebp, ecx
jbe 0x4b7578
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
cmp edx, 0x80
jge 0x4b7559
mov ecx, dword [esp + 0x24]
jmp 0x4b7564
mov ecx, pe_nt_image_headers32
mov edx, dword [esp + 0x24]
sub ecx, edx
add dword [esp + 0x1c], ecx
inc dword [esp + 0x20]
inc dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp ebp, edx
ja 0x4b753b
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b763b
mov edx, dword [esp + 0x1c]
and edx, 0xffff
mov dword [esp + 0x2c], edx
xor edx, edx
mov ecx, dword [esp + 0x1c]
shr ecx, 0xa
and ecx, 0x3fffc0
cmp esi, edx
mov dword [esp + 0x28], ecx
jle 0x4b75ea
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x4b75e5
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x2c]
shr ecx, 8
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x28]
shr ecx, 8
mov dword [esp + 0x28], ecx
inc edx
cmp esi, edx
jg 0x4b75ac
mov edx, dword [ebx + 0x1c8]
movzx edx, word [edx]
imul edx, dword [esp + 0x2c]
shr edx, 3
mov dword [esp + 0x2c], edx
mov ecx, dword [ebx + 0x1c8]
movzx edx, word [ecx]
imul edx, dword [esp + 0x28]
shr edx, 3
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x3fffc0
jbe 0x4b762a
mov dword [esp + 0x1c], 0x7fffffff
jmp 0x4b763b
mov edx, dword [esp + 0x28]
shl edx, 0xa
mov ecx, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov cl, byte [esp + 0x14]
cmp cl, 0x10
jne 0x4b76e1
xor edx, edx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x30], ecx
mov edx, dword [ebx + 0xb0]
inc edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jbe 0x4b7692
mov edx, dword [esp + 0x30]
mov cl, byte [edx]
mov edx, dword [esp + 0x38]
mov byte [edx], cl
inc dword [esp + 0x3c]
inc dword [esp + 0x30]
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x4b7672
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x3c]
cmp ebp, ecx
jbe 0x4b76d2
mov edx, dword [esp + 0x30]
mov cl, byte [edx]
mov edx, dword [esp + 0x34]
mov dl, byte [edx]
sub cl, dl
mov edx, dword [esp + 0x38]
and cl, 0xff
mov byte [edx], cl
inc dword [esp + 0x3c]
inc dword [esp + 0x30]
inc dword [esp + 0x34]
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp ebp, ecx
ja 0x4b76a3
mov edx, dword [ebx + 0xb0]
mov dword [esp + 8], edx
jmp 0x4b7964
test byte [esp + 0x14], 0x10
je 0x4b7964
xor edx, edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b77d7
mov ecx, dword [esp + 0x4c]
and ecx, 0xffff
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x54]
cmp esi, ecx
jle 0x4b7784
mov ecx, dword [ebx + 0x1bc]
mov edi, dword [esp + 0x54]
mov cl, byte [ecx + edi]
cmp cl, 1
jne 0x4b7778
mov ecx, dword [ebx + 0x1c4]
mov edi, dword [esp + 0x54]
movzx ecx, word [ecx + edi*2]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x1c4]
mov edi, dword [esp + 0x54]
movzx ecx, word [ecx + edi*2]
imul ecx, dword [esp + 0x58]
shr ecx, 8
mov dword [esp + 0x58], ecx
inc dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
cmp esi, ecx
jg 0x4b7732
mov ecx, dword [ebx + 0x1cc]
movzx ecx, word [ecx + 2]
imul ecx, dword [esp + 0x5c]
shr ecx, 3
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x1cc]
movzx ecx, word [ecx + 2]
imul ecx, dword [esp + 0x58]
shr ecx, 3
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
cmp ecx, 0x3fffc0
jbe 0x4b77c6
mov dword [esp + 0x4c], 0x7fffffff
jmp 0x4b77d7
mov ecx, dword [esp + 0x58]
shl ecx, 0xa
mov edi, dword [esp + 0x5c]
add ecx, edi
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0xb0]
inc ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jbe 0x4b7834
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov cl, byte [ecx]
mov byte [edi], cl
and ecx, 0xff
cmp ecx, 0x80
jge 0x4b7817
mov edi, ecx
jmp 0x4b781e
mov edi, pe_nt_image_headers32
sub edi, ecx
add edx, edi
inc dword [esp + 0x50]
inc dword [esp + 0x40]
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x4b77f9
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x48], ecx
jmp 0x4b7887
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov cl, byte [ecx]
sub cl, byte [edi]
mov edi, dword [esp + 0x44]
and cl, 0xff
mov byte [edi], cl
and ecx, 0xff
cmp ecx, 0x80
jge 0x4b7866
mov edi, ecx
jmp 0x4b786d
mov edi, pe_nt_image_headers32
sub edi, ecx
add edx, edi
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
ja 0x4b7895
inc dword [esp + 0x50]
inc dword [esp + 0x40]
inc dword [esp + 0x48]
inc dword [esp + 0x44]
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x50]
cmp ecx, edi
ja 0x4b783f
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b794e
mov ecx, edx
shr edx, 0xa
and ecx, 0xffff
and edx, 0x3fffc0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
xor edx, edx
cmp esi, edx
jle 0x4b7902
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 1
jne 0x4b78fd
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x64]
shr ecx, 8
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x60]
shr ecx, 8
mov dword [esp + 0x60], ecx
inc edx
cmp esi, edx
jg 0x4b78c3
mov edx, dword [ebx + 0x1cc]
movzx edx, word [edx + 2]
imul edx, dword [esp + 0x64]
shr edx, 3
mov dword [esp + 0x64], edx
mov ecx, dword [ebx + 0x1cc]
movzx edx, word [ecx + 2]
imul edx, dword [esp + 0x60]
shr edx, 3
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
cmp ecx, 0x3fffc0
jbe 0x4b7941
mov edx, 0x7fffffff
jmp 0x4b794e
mov edx, dword [esp + 0x60]
shl edx, 0xa
mov ecx, dword [esp + 0x64]
add edx, ecx
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jae 0x4b7964
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0xb0]
mov dword [esp + 8], edx
mov dl, byte [esp + 0x14]
cmp dl, 0x20
jne 0x4b79d6
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x68], edx
mov ecx, dword [ebx + 0xb4]
inc ecx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x74]
cmp ebp, ecx
jbe 0x4b79c7
mov edx, dword [esp + 0x68]
mov cl, byte [edx]
mov edx, dword [esp + 0x70]
mov dl, byte [edx]
sub cl, dl
mov edx, dword [esp + 0x6c]
and cl, 0xff
mov byte [edx], cl
inc dword [esp + 0x74]
inc dword [esp + 0x68]
inc dword [esp + 0x70]
inc dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
cmp ebp, ecx
ja 0x4b7998
mov edx, dword [ebx + 0xb4]
mov dword [esp + 8], edx
jmp 0x4b7cce
test byte [esp + 0x14], 0x20
je 0x4b7cce
xor ecx, ecx
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x88], edx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b7aee
mov edx, dword [esp + 0x88]
and edx, 0xffff
mov dword [esp + 0x98], edx
xor edx, edx
mov ecx, dword [esp + 0x88]
shr ecx, 0xa
and ecx, 0x3fffc0
cmp esi, edx
mov dword [esp + 0x94], ecx
jle 0x4b7a80
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 2
jne 0x4b7a7b
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x98]
shr ecx, 8
mov dword [esp + 0x98], ecx
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x94]
shr ecx, 8
mov dword [esp + 0x94], ecx
inc edx
cmp esi, edx
jg 0x4b7a35
mov edx, dword [ebx + 0x1cc]
movzx edx, word [edx + 4]
imul edx, dword [esp + 0x98]
shr edx, 3
mov dword [esp + 0x98], edx
mov ecx, dword [ebx + 0x1cc]
movzx edx, word [ecx + 4]
imul edx, dword [esp + 0x94]
shr edx, 3
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x3fffc0
jbe 0x4b7ad4
mov dword [esp + 0x88], 0x7fffffff
jmp 0x4b7aee
mov edx, dword [esp + 0x94]
shl edx, 0xa
mov ecx, dword [esp + 0x98]
add edx, ecx
mov dword [esp + 0x88], edx
xor edx, edx
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x78], ecx
mov edx, dword [ebx + 0xb4]
inc edx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x8c]
cmp ebp, edx
jbe 0x4b7bb1
mov ecx, dword [esp + 0x78]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x80]
mov cl, byte [ecx]
sub dl, cl
mov ecx, dword [esp + 0x7c]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
mov dword [esp + 0x90], edx
inc dword [esp + 0x80]
inc dword [esp + 0x78]
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80
jge 0x4b7b74
mov edx, dword [esp + 0x90]
jmp 0x4b7b82
mov edx, pe_nt_image_headers32
mov ecx, dword [esp + 0x90]
sub edx, ecx
add dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp edx, ecx
ja 0x4b7bb1
inc dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
cmp ebp, edx
ja 0x4b7b26
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b7caa
mov edx, dword [esp + 0x84]
and edx, 0xffff
mov dword [esp + 0xa0], edx
xor edx, edx
mov ecx, dword [esp + 0x84]
shr ecx, 0xa
and ecx, 0x3fffc0
cmp esi, edx
mov dword [esp + 0x9c], ecx
jle 0x4b7c3c
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 2
jne 0x4b7c37
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xa0]
shr ecx, 8
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x9c]
shr ecx, 8
mov dword [esp + 0x9c], ecx
inc edx
cmp esi, edx
jg 0x4b7bf1
mov edx, dword [ebx + 0x1c8]
movzx edx, word [edx + 4]
imul edx, dword [esp + 0xa0]
shr edx, 3
mov dword [esp + 0xa0], edx
mov ecx, dword [ebx + 0x1c8]
movzx edx, word [ecx + 4]
imul edx, dword [esp + 0x9c]
shr edx, 3
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x3fffc0
jbe 0x4b7c90
mov dword [esp + 0x84], 0x7fffffff
jmp 0x4b7caa
mov edx, dword [esp + 0x9c]
shl edx, 0xa
mov ecx, dword [esp + 0xa0]
add edx, ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jae 0x4b7cce
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 8], ecx
mov dl, byte [esp + 0x14]
cmp dl, 0x40
jne 0x4b7dee
xor ecx, ecx
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xa4], edx
mov ecx, dword [ebx + 0xb8]
inc ecx
mov dword [esp + 0xa8], ecx
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
jbe 0x4b7d65
mov edx, dword [esp + 0xac]
xor ecx, ecx
mov cl, byte [edx]
sar ecx, 1
jns 0x4b7d27
adc ecx, 0
mov edx, dword [esp + 0xa4]
mov dl, byte [edx]
sub dl, cl
mov ecx, dword [esp + 0xa8]
and dl, 0xff
mov byte [ecx], dl
inc dword [esp + 0xac]
inc dword [esp + 0xa4]
inc dword [esp + 0xa8]
inc dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
cmp eax, edx
ja 0x4b7d15
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xb4]
cmp ebp, edx
jbe 0x4b7ddf
mov ecx, dword [esp + 0xac]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0xb0]
movzx ecx, byte [ecx]
add edx, ecx
sar edx, 1
jns 0x4b7d9a
adc edx, 0
mov ecx, dword [esp + 0xa4]
mov cl, byte [ecx]
sub cl, dl
mov edx, dword [esp + 0xa8]
and cl, 0xff
mov byte [edx], cl
inc dword [esp + 0xb0]
inc dword [esp + 0xac]
inc dword [esp + 0xa4]
inc dword [esp + 0xa8]
inc dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
cmp ebp, edx
ja 0x4b7d7c
mov ecx, dword [ebx + 0xb8]
mov dword [esp + 8], ecx
jmp 0x4b8171
test byte [esp + 0x14], 0x40
je 0x4b8171
xor edi, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc8], edx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b7f2f
mov edx, dword [esp + 0xc8]
and edx, 0xffff
mov dword [esp + 0xd8], edx
xor edx, edx
mov ecx, dword [esp + 0xc8]
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], edx
mov ecx, dword [esp + 0xd0]
cmp esi, ecx
jle 0x4b7ec1
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0xd0]
mov dl, byte [edx + ecx]
cmp dl, 3
jne 0x4b7eaf
mov ecx, dword [ebx + 0x1c4]
mov edx, dword [esp + 0xd0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xd8]
shr ecx, 8
mov dword [esp + 0xd8], ecx
mov edx, dword [ebx + 0x1c4]
mov ecx, dword [esp + 0xd0]
movzx edx, word [edx + ecx*2]
imul edx, dword [esp + 0xd4]
shr edx, 8
mov dword [esp + 0xd4], edx
inc dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
cmp esi, ecx
jg 0x4b7e54
mov edx, dword [ebx + 0x1cc]
movzx ecx, word [edx + 6]
imul ecx, dword [esp + 0xd8]
shr ecx, 3
mov dword [esp + 0xd8], ecx
mov edx, dword [ebx + 0x1cc]
movzx ecx, word [edx + 6]
imul ecx, dword [esp + 0xd4]
shr ecx, 3
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0xd4]
cmp edx, 0x3fffc0
jbe 0x4b7f15
mov dword [esp + 0xc8], 0x7fffffff
jmp 0x4b7f2f
mov ecx, dword [esp + 0xd4]
shl ecx, 0xa
mov edx, dword [esp + 0xd8]
add ecx, edx
mov dword [esp + 0xc8], ecx
xor ecx, ecx
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xb8], edx
mov ecx, dword [ebx + 0xb8]
inc ecx
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 0xc0], edx
mov ecx, dword [esp + 0xcc]
cmp eax, ecx
jbe 0x4b7fd4
mov edx, dword [esp + 0xc0]
xor ecx, ecx
mov cl, byte [edx]
sar ecx, 1
jns 0x4b7f7b
adc ecx, 0
mov edx, dword [esp + 0xb8]
mov dl, byte [edx]
sub dl, cl
mov ecx, dword [esp + 0xbc]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
inc dword [esp + 0xc0]
inc dword [esp + 0xb8]
inc dword [esp + 0xbc]
cmp edx, 0x80
jge 0x4b7fb9
mov ecx, edx
jmp 0x4b7fc0
mov ecx, pe_nt_image_headers32
sub ecx, edx
add edi, ecx
inc dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
cmp eax, edx
ja 0x4b7f69
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xc4], edx
mov ecx, dword [esp + 0xcc]
cmp ebp, ecx
jbe 0x4b807c
mov edx, dword [esp + 0xc0]
xor ecx, ecx
mov cl, byte [edx]
mov edx, dword [esp + 0xc4]
movzx edx, byte [edx]
add ecx, edx
sar ecx, 1
jns 0x4b800d
adc ecx, 0
mov edx, dword [esp + 0xb8]
mov dl, byte [edx]
sub dl, cl
mov ecx, dword [esp + 0xbc]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
inc dword [esp + 0xc4]
inc dword [esp + 0xc0]
inc dword [esp + 0xb8]
inc dword [esp + 0xbc]
cmp edx, 0x80
jge 0x4b8052
mov ecx, edx
jmp 0x4b8059
mov ecx, pe_nt_image_headers32
sub ecx, edx
add edi, ecx
mov edx, dword [esp + 0xc8]
cmp edi, edx
ja 0x4b807c
inc dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
cmp ebp, edx
ja 0x4b7fef
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4b815b
mov edx, edi
and edx, 0xffff
shr edi, 0xa
mov dword [esp + 0xe0], edx
and edi, 0x3fffc0
xor edx, edx
cmp esi, edx
mov dword [esp + 0xdc], edi
jle 0x4b80fa
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x4b80f5
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xe0]
shr ecx, 8
mov dword [esp + 0xe0], ecx
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xdc]
shr ecx, 8
mov dword [esp + 0xdc], ecx
inc edx
cmp esi, edx
jg 0x4b80b0
mov edx, dword [ebx + 0x1c8]
movzx edx, word [edx + 6]
imul edx, dword [esp + 0xe0]
shr edx, 3
mov dword [esp + 0xe0], edx
mov ecx, dword [ebx + 0x1c8]
movzx edx, word [ecx + 6]
imul edx, dword [esp + 0xdc]
shr edx, 3
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0xdc]
cmp ecx, 0x3fffc0
jbe 0x4b8148
mov edi, 0x7fffffff
jmp 0x4b815b
mov edi, dword [esp + 0xdc]
shl edi, 0xa
mov edx, dword [esp + 0xe0]
add edi, edx
mov ecx, dword [esp + 0x10]
cmp edi, ecx
jae 0x4b8171
mov dword [esp + 0x10], edi
mov edx, dword [ebx + 0xb8]
mov dword [esp + 8], edx
mov cl, byte [esp + 0x14]
cmp cl, 0x80
jne 0x4b8355
xor edx, edx
mov dword [esp + 0xf8], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xe4], ecx
mov edx, dword [ebx + 0xbc]
inc edx
mov dword [esp + 0xe8], edx
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 0xec], ecx
mov edx, dword [esp + 0xf8]
cmp eax, edx
jbe 0x4b81ff
mov ecx, dword [esp + 0xe4]
mov dl, byte [ecx]
mov ecx, dword [esp + 0xec]
mov cl, byte [ecx]
sub dl, cl
mov ecx, dword [esp + 0xe8]
and dl, 0xff
mov byte [ecx], dl
inc dword [esp + 0xec]
inc dword [esp + 0xe4]
inc dword [esp + 0xe8]
inc dword [esp + 0xf8]
mov edx, dword [esp + 0xf8]
cmp eax, edx
ja 0x4b81b8
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 0xf0], eax
mov edx, dword [esp + 0xf8]
cmp ebp, edx
jbe 0x4b8346
mov ecx, dword [esp + 0xec]
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x100], eax
inc dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x104], ecx
inc dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
xor edx, edx
mov dl, byte [eax]
mov dword [esp + 0xfc], edx
inc dword [esp + 0xf4]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
sub eax, edx
mov edx, dword [esp + 0xfc]
mov ecx, dword [esp + 0x104]
sub edx, ecx
test eax, eax
jge 0x4b829b
mov ecx, eax
neg ecx
jmp 0x4b829d
mov ecx, eax
mov dword [esp + 0x108], ecx
test edx, edx
jge 0x4b82ae
mov ecx, edx
neg ecx
jmp 0x4b82b0
mov ecx, edx
mov dword [esp + 0x10c], ecx
lea ecx, [edx + eax]
test ecx, ecx
jge 0x4b82c5
lea ecx, [edx + eax]
neg ecx
jmp 0x4b82c8
lea ecx, [edx + eax]
mov edx, ecx
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
cmp eax, ecx
jg 0x4b82f0
mov eax, dword [esp + 0x108]
cmp edx, eax
jl 0x4b82f0
mov eax, dword [esp + 0xfc]
jmp 0x4b830b
mov ecx, dword [esp + 0x10c]
cmp edx, ecx
jl 0x4b8304
mov eax, dword [esp + 0x100]
jmp 0x4b830b
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xe4]
mov cl, byte [edx]
sub cl, al
mov eax, dword [esp + 0xe8]
and cl, 0xff
mov byte [eax], cl
inc dword [esp + 0xe4]
inc dword [esp + 0xe8]
inc dword [esp + 0xf8]
mov edx, dword [esp + 0xf8]
cmp ebp, edx
ja 0x4b8226
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 8], ecx
jmp 0x4b8796
test byte [esp + 0x14], 0x80
je 0x4b8796
xor edx, edx
mov dword [esp + 0x124], edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x128], ecx
mov dl, byte [ebx + 0x1b8]
cmp dl, 2
jne 0x4b846d
mov ecx, dword [esp + 0x128]
and ecx, 0xffff
mov dword [esp + 0x134], ecx
mov edx, dword [esp + 0x128]
shr edx, 0xa
and edx, 0x3fffc0
mov dword [esp + 0x130], edx
xor edx, edx
cmp esi, edx
jle 0x4b83ff
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 4
jne 0x4b83fa
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x134]
shr ecx, 8
mov dword [esp + 0x134], ecx
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x130]
shr ecx, 8
mov dword [esp + 0x130], ecx
inc edx
cmp esi, edx
jg 0x4b83b4
mov edx, dword [ebx + 0x1cc]
movzx edx, word [edx + 8]
imul edx, dword [esp + 0x134]
shr edx, 3
mov dword [esp + 0x134], edx
mov ecx, dword [ebx + 0x1cc]
movzx edx, word [ecx + 8]
imul edx, dword [esp + 0x130]
shr edx, 3
mov dword [esp + 0x130], edx
mov ecx, dword [esp + 0x130]
cmp ecx, 0x3fffc0
jbe 0x4b8453
mov dword [esp + 0x128], 0x7fffffff
jmp 0x4b846d
mov edx, dword [esp + 0x130]
shl edx, 0xa
mov ecx, dword [esp + 0x134]
add edx, ecx
mov dword [esp + 0x128], edx
xor edx, edx
mov dword [esp + 0x12c], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x110], ecx
mov edx, dword [ebx + 0xbc]
inc edx
mov dword [esp + 0x114], edx
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 0x118], ecx
mov edx, dword [esp + 0x12c]
cmp eax, edx
jbe 0x4b850e
mov ecx, dword [esp + 0x110]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x118]
mov cl, byte [ecx]
sub dl, cl
mov ecx, dword [esp + 0x114]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
inc dword [esp + 0x118]
inc dword [esp + 0x110]
inc dword [esp + 0x114]
cmp edx, 0x80
jge 0x4b84ee
mov ecx, edx
jmp 0x4b84f5
mov ecx, pe_nt_image_headers32
sub ecx, edx
add dword [esp + 0x124], ecx
inc dword [esp + 0x12c]
mov edx, dword [esp + 0x12c]
cmp eax, edx
ja 0x4b84a7
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x120], eax
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 0x11c], eax
mov edx, dword [esp + 0x12c]
cmp ebp, edx
jbe 0x4b8687
mov ecx, dword [esp + 0x118]
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x13c], eax
inc dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x140], ecx
inc dword [esp + 0x11c]
mov eax, dword [esp + 0x120]
xor edx, edx
mov dl, byte [eax]
mov dword [esp + 0x138], edx
inc dword [esp + 0x120]
mov edi, dword [esp + 0x13c]
mov eax, dword [esp + 0x140]
sub edi, eax
mov eax, dword [esp + 0x138]
mov edx, dword [esp + 0x140]
sub eax, edx
test edi, edi
jge 0x4b85aa
mov ecx, edi
neg ecx
jmp 0x4b85ac
mov ecx, edi
mov dword [esp + 0x144], ecx
test eax, eax
jge 0x4b85bd
mov edx, eax
neg edx
jmp 0x4b85bf
mov edx, eax
mov dword [esp + 0x148], edx
lea ecx, [eax + edi]
test ecx, ecx
jge 0x4b85d4
lea edx, [eax + edi]
neg edx
jmp 0x4b85d7
lea edx, [eax + edi]
mov eax, edx
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
cmp ecx, edx
jg 0x4b85ff
mov ecx, dword [esp + 0x144]
cmp eax, ecx
jl 0x4b85ff
mov edi, dword [esp + 0x138]
jmp 0x4b861a
mov edx, dword [esp + 0x148]
cmp eax, edx
jl 0x4b8613
mov edi, dword [esp + 0x13c]
jmp 0x4b861a
mov edi, dword [esp + 0x140]
mov edx, dword [esp + 0x110]
mov eax, edi
mov cl, byte [edx]
xor edx, edx
sub cl, al
mov eax, dword [esp + 0x114]
and cl, 0xff
mov byte [eax], cl
mov dl, cl
inc dword [esp + 0x110]
inc dword [esp + 0x114]
cmp edx, 0x80
jge 0x4b8651
mov eax, edx
jmp 0x4b8658
mov eax, pe_nt_image_headers32
sub eax, edx
add dword [esp + 0x124], eax
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
cmp edx, ecx
ja 0x4b8687
inc dword [esp + 0x12c]
mov eax, dword [esp + 0x12c]
cmp ebp, eax
ja 0x4b8535
mov dl, byte [ebx + 0x1b8]
cmp dl, 2
jne 0x4b877d
mov ecx, dword [esp + 0x124]
and ecx, 0xffff
mov dword [esp + 0x150], ecx
mov eax, dword [esp + 0x124]
shr eax, 0xa
and eax, 0x3fffc0
mov dword [esp + 0x14c], eax
xor eax, eax
cmp esi, eax
jle 0x4b8711
mov edx, dword [ebx + 0x1bc]
mov cl, byte [edx + eax]
cmp cl, 4
jne 0x4b870c
mov edx, dword [ebx + 0x1c0]
movzx ecx, word [edx + eax*2]
imul ecx, dword [esp + 0x150]
shr ecx, 8
mov dword [esp + 0x150], ecx
mov edx, dword [ebx + 0x1c0]
movzx ecx, word [edx + eax*2]
imul ecx, dword [esp + 0x14c]
shr ecx, 8
mov dword [esp + 0x14c], ecx
inc eax
cmp esi, eax
jg 0x4b86c6
mov eax, dword [ebx + 0x1c8]
movzx eax, word [eax + 8]
imul dword [esp + 0x150]
shr eax, 3
mov dword [esp + 0x150], eax
mov edx, dword [ebx + 0x1c8]
movzx ecx, word [edx + 8]
imul ecx, dword [esp + 0x14c]
shr ecx, 3
mov dword [esp + 0x14c], ecx
mov eax, dword [esp + 0x14c]
cmp eax, 0x3fffc0
jbe 0x4b8763
mov dword [esp + 0x124], 0x7fffffff
jmp 0x4b877d
mov edx, dword [esp + 0x14c]
shl edx, 0xa
mov ecx, dword [esp + 0x150]
add edx, ecx
mov dword [esp + 0x124], edx
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x10]
cmp eax, edx
jae 0x4b8796
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 8], ecx
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004b8818
mov cl, byte [ebx + 0x1b9]
test cl, cl
jbe 0x4b880a
mov dword [esp + 0x154], 1
mov eax, dword [esp + 0x154]
cmp esi, eax
jle 0x4b87f4
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0x154]
mov al, byte [edx + ecx - 1]
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0x154]
mov byte [edx + ecx], al
inc dword [esp + 0x154]
mov eax, dword [esp + 0x154]
cmp esi, eax
jg 0x4b87c1
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0x154]
mov eax, dword [esp + 8]
mov al, byte [eax]
mov byte [edx + ecx], al
add esp, 0x158
pop ebp
pop edi
pop esi
pop ebx
ret