Function at 0x4ba7cc
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 0x4ba803
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 0x4ba963
mov dl, byte [esp + 0x14]
cmp dl, 8
je 0x4ba963
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 0x4ba898
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 0x4ba879
mov ecx, dword [esp + 0x24]
jmp 0x4ba884
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 0x4ba85b
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4ba95b
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 0x4ba90a
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x4ba905
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 0x4ba8cc
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 0x4ba94a
mov dword [esp + 0x1c], 0x7fffffff
jmp 0x4ba95b
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 0x4baa01
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 0x4ba9b2
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 0x4ba992
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x3c]
cmp ebp, ecx
jbe 0x4ba9f2
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 0x4ba9c3
mov edx, dword [ebx + 0xb0]
mov dword [esp + 8], edx
jmp 0x4bac84
test byte [esp + 0x14], 0x10
je 0x4bac84
xor edx, edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4baaf7
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 0x4baaa4
mov ecx, dword [ebx + 0x1bc]
mov edi, dword [esp + 0x54]
mov cl, byte [ecx + edi]
cmp cl, 1
jne 0x4baa98
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 0x4baa52
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 0x4baae6
mov dword [esp + 0x4c], 0x7fffffff
jmp 0x4baaf7
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 0x4bab54
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 0x4bab37
mov edi, ecx
jmp 0x4bab3e
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 0x4bab19
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x48], ecx
jmp 0x4baba7
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 0x4bab86
mov edi, ecx
jmp 0x4bab8d
mov edi, pe_nt_image_headers32
sub edi, ecx
add edx, edi
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
ja 0x4babb5
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 0x4bab5f
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4bac6e
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 0x4bac22
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 1
jne 0x4bac1d
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 0x4babe3
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 0x4bac61
mov edx, 0x7fffffff
jmp 0x4bac6e
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 0x4bac84
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0xb0]
mov dword [esp + 8], edx
mov dl, byte [esp + 0x14]
cmp dl, 0x20
jne 0x4bacf6
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 0x4bace7
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 0x4bacb8
mov edx, dword [ebx + 0xb4]
mov dword [esp + 8], edx
jmp 0x4bafee
test byte [esp + 0x14], 0x20
je 0x4bafee
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 0x4bae0e
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 0x4bada0
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 2
jne 0x4bad9b
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 0x4bad55
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 0x4badf4
mov dword [esp + 0x88], 0x7fffffff
jmp 0x4bae0e
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 0x4baed1
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 0x4bae94
mov edx, dword [esp + 0x90]
jmp 0x4baea2
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 0x4baed1
inc dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
cmp ebp, edx
ja 0x4bae46
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4bafca
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 0x4baf5c
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 2
jne 0x4baf57
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 0x4baf11
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 0x4bafb0
mov dword [esp + 0x84], 0x7fffffff
jmp 0x4bafca
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 0x4bafee
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 0x4bb10e
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 0x4bb085
mov edx, dword [esp + 0xac]
xor ecx, ecx
mov cl, byte [edx]
sar ecx, 1
jns 0x4bb047
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 0x4bb035
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xb4]
cmp ebp, edx
jbe 0x4bb0ff
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 0x4bb0ba
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 0x4bb09c
mov ecx, dword [ebx + 0xb8]
mov dword [esp + 8], ecx
jmp 0x4bb491
test byte [esp + 0x14], 0x40
je 0x4bb491
xor edi, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc8], edx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4bb24f
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 0x4bb1e1
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0xd0]
mov dl, byte [edx + ecx]
cmp dl, 3
jne 0x4bb1cf
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 0x4bb174
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 0x4bb235
mov dword [esp + 0xc8], 0x7fffffff
jmp 0x4bb24f
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 0x4bb2f4
mov edx, dword [esp + 0xc0]
xor ecx, ecx
mov cl, byte [edx]
sar ecx, 1
jns 0x4bb29b
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 0x4bb2d9
mov ecx, edx
jmp 0x4bb2e0
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 0x4bb289
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xc4], edx
mov ecx, dword [esp + 0xcc]
cmp ebp, ecx
jbe 0x4bb39c
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 0x4bb32d
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 0x4bb372
mov ecx, edx
jmp 0x4bb379
mov ecx, pe_nt_image_headers32
sub ecx, edx
add edi, ecx
mov edx, dword [esp + 0xc8]
cmp edi, edx
ja 0x4bb39c
inc dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
cmp ebp, edx
ja 0x4bb30f
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x4bb47b
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 0x4bb41a
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x4bb415
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 0x4bb3d0
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 0x4bb468
mov edi, 0x7fffffff
jmp 0x4bb47b
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 0x4bb491
mov dword [esp + 0x10], edi
mov edx, dword [ebx + 0xb8]
mov dword [esp + 8], edx
mov cl, byte [esp + 0x14]
cmp cl, 0x80
jne 0x4bb675
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 0x4bb51f
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 0x4bb4d8
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 0x4bb666
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 0x4bb5bb
mov ecx, eax
neg ecx
jmp 0x4bb5bd
mov ecx, eax
mov dword [esp + 0x108], ecx
test edx, edx
jge 0x4bb5ce
mov ecx, edx
neg ecx
jmp 0x4bb5d0
mov ecx, edx
mov dword [esp + 0x10c], ecx
lea ecx, [edx + eax]
test ecx, ecx
jge 0x4bb5e5
lea ecx, [edx + eax]
neg ecx
jmp 0x4bb5e8
lea ecx, [edx + eax]
mov edx, ecx
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
cmp eax, ecx
jg 0x4bb610
mov eax, dword [esp + 0x108]
cmp edx, eax
jl 0x4bb610
mov eax, dword [esp + 0xfc]
jmp 0x4bb62b
mov ecx, dword [esp + 0x10c]
cmp edx, ecx
jl 0x4bb624
mov eax, dword [esp + 0x100]
jmp 0x4bb62b
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 0x4bb546
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 8], ecx
jmp 0x4bbab6
test byte [esp + 0x14], 0x80
je 0x4bbab6
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 0x4bb78d
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 0x4bb71f
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 4
jne 0x4bb71a
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 0x4bb6d4
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 0x4bb773
mov dword [esp + 0x128], 0x7fffffff
jmp 0x4bb78d
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 0x4bb82e
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 0x4bb80e
mov ecx, edx
jmp 0x4bb815
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 0x4bb7c7
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 0x4bb9a7
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 0x4bb8ca
mov ecx, edi
neg ecx
jmp 0x4bb8cc
mov ecx, edi
mov dword [esp + 0x144], ecx
test eax, eax
jge 0x4bb8dd
mov edx, eax
neg edx
jmp 0x4bb8df
mov edx, eax
mov dword [esp + 0x148], edx
lea ecx, [eax + edi]
test ecx, ecx
jge 0x4bb8f4
lea edx, [eax + edi]
neg edx
jmp 0x4bb8f7
lea edx, [eax + edi]
mov eax, edx
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
cmp ecx, edx
jg 0x4bb91f
mov ecx, dword [esp + 0x144]
cmp eax, ecx
jl 0x4bb91f
mov edi, dword [esp + 0x138]
jmp 0x4bb93a
mov edx, dword [esp + 0x148]
cmp eax, edx
jl 0x4bb933
mov edi, dword [esp + 0x13c]
jmp 0x4bb93a
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 0x4bb971
mov eax, edx
jmp 0x4bb978
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 0x4bb9a7
inc dword [esp + 0x12c]
mov eax, dword [esp + 0x12c]
cmp ebp, eax
ja 0x4bb855
mov dl, byte [ebx + 0x1b8]
cmp dl, 2
jne 0x4bba9d
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 0x4bba31
mov edx, dword [ebx + 0x1bc]
mov cl, byte [edx + eax]
cmp cl, 4
jne 0x4bba2c
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 0x4bb9e6
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 0x4bba83
mov dword [esp + 0x124], 0x7fffffff
jmp 0x4bba9d
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 0x4bbab6
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 8], ecx
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004bbb38
mov cl, byte [ebx + 0x1b9]
test cl, cl
jbe 0x4bbb2a
mov dword [esp + 0x154], 1
mov eax, dword [esp + 0x154]
cmp esi, eax
jle 0x4bbb14
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 0x4bbae1
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