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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff6c
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
mov edx, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x10], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [esp]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x18], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x44]
mov edx, 1
mov dword [esp + 0x20], ecx
mov eax, dword [esp]
mov ecx, dword [eax + 8]
shl edx, cl
dec edx
mov dword [esp + 0x24], edx
mov edx, 1
mov eax, dword [esp]
mov ecx, dword [eax + 4]
shl edx, cl
dec edx
mov dword [esp + 0x28], edx
mov eax, dword [esp]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x30], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x34], ecx
mov eax, dword [esp]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x3c], eax
xor eax, eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x30]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x48], ecx
mov eax, dword [esp]
mov esi, dword [eax + 0x1c]
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x3c]
and edx, dword [esp + 0x24]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
shl ecx, 4
add edx, edx
add ecx, ecx
add ecx, dword [esp + 0xc]
add ecx, edx
cmp esi, 0x1000000
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x4c]
movzx edx, word [ecx]
jae 0x4ba593
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4ba7c1
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x4c]
mov word [edx], cx
mov edx, dword [esp + 0xc]
add edx, 0xe6c
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x40], 0
jne 0x4ba5d5
cmp dword [esp + 0x3c], 0
je 0x4ba616
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
and edx, dword [esp + 0x28]
shl edx, cl
mov ecx, 8
sub ecx, dword [esp + 0x2c]
cmp dword [esp + 0x38], 0
jne 0x4ba5f9
mov ebx, dword [esp + 0x34]
jmp 0x4ba5fd
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
movzx ebx, byte [edi + ebx - 1]
sar ebx, cl
add edx, ebx
shl edx, 8
lea edx, [edx + edx*2]
add edx, edx
add dword [esp + 0x4c], edx
cmp dword [esp + 0x10], 7
jae 0x4ba6ab
cmp dword [esp + 0x10], 4
jae 0x4ba62e
mov ecx, dword [esp + 0x10]
jmp 0x4ba633
mov ecx, 3
sub dword [esp + 0x10], ecx
mov edi, 1
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4ba65f
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4ba686
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4ba69e
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
cmp edi, 0x100
jb 0x4ba63c
jmp 0x4ba7a2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x14]
jae 0x4ba6c3
mov ecx, dword [esp + 0x34]
jmp 0x4ba6c5
xor ecx, ecx
add edx, ecx
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x14]
movzx edx, byte [ecx + edx]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], pe_nt_image_headers32
cmp dword [esp + 0x10], 0xa
jae 0x4ba6eb
mov edx, 3
jmp 0x4ba6f0
mov edx, 6
sub dword [esp + 0x10], edx
mov edi, 1
shl dword [esp + 0x54], 1
mov edx, dword [esp + 0x54]
and edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add ecx, ecx
add edx, edx
add ecx, dword [esp + 0x4c]
add ecx, edx
mov edx, edi
add edx, edx
add ecx, edx
cmp esi, 0x1000000
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
jae 0x4ba747
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4ba777
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add edi, edi
mov edx, dword [esp + 0x5c]
not edx
and dword [esp + 0x58], edx
jmp 0x4ba796
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
lea edi, [edi + edi + 1]
mov edx, dword [esp + 0x5c]
and dword [esp + 0x58], edx
cmp edi, 0x100
jb 0x4ba6f9
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, edi
mov byte [ecx + edx], bl
inc dword [esp + 0x38]
inc dword [esp + 0x3c]
jmp 0x4bb3d4
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x180
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx]
cmp esi, 0x1000000
jae 0x4ba80a
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4ba844
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x4c]
mov word [edx], cx
add dword [esp + 0x10], 0xc
mov edx, dword [esp + 0xc]
add edx, 0x664
mov dword [esp + 0x4c], edx
jmp 0x4baae5
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
cmp dword [esp + 0x40], 0
jne 0x4ba86f
cmp dword [esp + 0x3c], 0
jne 0x4ba86f
mov eax, 1
jmp 0x4bb470
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x198
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx]
cmp esi, 0x1000000
jae 0x4ba8a5
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4ba998
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x4c]
mov word [edx], cx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
shl edx, 4
add ecx, ecx
add edx, edx
add edx, dword [esp + 0xc]
add edx, ecx
add edx, 0x1e0
cmp esi, 0x1000000
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx]
jae 0x4ba90c
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4ba980
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x4c]
mov word [edx], cx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x14]
jae 0x4ba946
mov ecx, dword [esp + 0x34]
jmp 0x4ba948
xor ecx, ecx
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov byte [ecx + ebx], dl
inc dword [esp + 0x38]
inc dword [esp + 0x3c]
cmp dword [esp + 0x10], 7
jae 0x4ba972
mov edx, 9
jmp 0x4ba977
mov edx, 0xb
mov dword [esp + 0x10], edx
jmp 0x4bb3d4
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
jmp 0x4baac0
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x1b0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx]
cmp esi, 0x1000000
jae 0x4ba9e1
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4baa10
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x4c]
mov word [edx], cx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
jmp 0x4baab0
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x1c8
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx]
cmp esi, 0x1000000
jae 0x4baa59
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4baa85
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x4c]
mov word [edx], cx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
jmp 0x4baaa8
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x10], 7
jae 0x4baace
mov edx, 8
jmp 0x4baad3
mov edx, 0xb
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0xc]
add ecx, 0xa68
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x4c]
movzx edx, word [ebx]
cmp esi, 0x1000000
jae 0x4bab07
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bab48
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov word [ebx], cx
mov ebx, dword [esp + 0x50]
shl ebx, 3
add ebx, ebx
add ebx, dword [esp + 0x4c]
add ebx, 4
ret
add al, 0x33
ror byte [ecx - 0x3893dbac], cl
inc esp
and al, 0x68
or byte [eax], al
add byte [eax], al
jmp 0x4babe8
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov word [ebx], dx
mov ebx, dword [esp + 0x4c]
add ebx, 2
movzx edx, word [ebx]
cmp esi, 0x1000000
jae 0x4bab7c
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4babbf
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov word [ebx], cx
mov ebx, dword [esp + 0x50]
shl ebx, 3
add ebx, ebx
add ebx, dword [esp + 0x4c]
mov dword [esp + 0x6c], 8
mov dword [esp + 0x68], 8
add ebx, 0x104
jmp 0x4babe8
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov word [ebx], dx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x68], pe_nt_image_headers32
add ebx, 0x204
mov dword [esp + 0x44], 1
mov edx, dword [esp + 0x44]
movzx edx, word [ebx + edx*2]
cmp esi, 0x1000000
jae 0x4bac13
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bac40
mov edi, 0x800
mov esi, ecx
sub edi, edx
mov ecx, dword [esp + 0x44]
shr edi, 5
add di, dx
mov word [ebx + ecx*2], di
mov edx, dword [esp + 0x44]
add dword [esp + 0x44], edx
jmp 0x4bac61
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [ebx + ecx*2], dx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x68]
jb 0x4babf0
mov ecx, dword [esp + 0x68]
sub dword [esp + 0x44], ecx
mov edx, dword [esp + 0x6c]
add dword [esp + 0x44], edx
cmp dword [esp + 0x10], 0xc
jb 0x4bb309
cmp dword [esp + 0x44], 4
jae 0x4bac93
mov ecx, dword [esp + 0x44]
jmp 0x4bac98
mov ecx, 3
shl ecx, 6
add ecx, ecx
add ecx, dword [esp + 0xc]
add ecx, 0x360
mov dword [esp + 0x4c], ecx
mov edi, 1
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4bacd3
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bacfa
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4bad12
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4bad35
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bad5c
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4bad74
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4bad97
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4badbe
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4badd6
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4badf9
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bae20
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4bae38
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4bae5b
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bae82
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4bae9a
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + edi*2]
cmp esi, 0x1000000
jae 0x4baebd
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4baee4
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + edi*2], bx
add edi, edi
jmp 0x4baefc
sub esi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + edi*2], dx
lea edi, [edi + edi + 1]
sub edi, 0x40
cmp edi, 4
jb 0x4bb2ac
mov edx, edi
mov dword [esp + 0x70], edi
shr edx, 1
and edi, 1
dec edx
or edi, 2
mov dword [esp + 0x74], edx
cmp dword [esp + 0x70], 0xe
jae 0x4bafed
mov ecx, dword [esp + 0x74]
shl edi, cl
mov edx, edi
mov ecx, dword [esp + 0x70]
add edx, edx
add ecx, ecx
add edx, dword [esp + 0xc]
add edx, 0x560
sub edx, ecx
add edx, 0xfffffffe
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 1
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x7c]
movzx edx, word [edx + ecx*2]
cmp esi, 0x1000000
jae 0x4baf80
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bafb1
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x7c]
add bp, dx
mov word [ecx + ebx*2], bp
mov edx, dword [esp + 0x7c]
add dword [esp + 0x7c], edx
jmp 0x4bafda
sub esi, ecx
sub eax, ecx
mov ecx, edx
mov ebx, dword [esp + 0x7c]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
mov edx, dword [esp + 0x7c]
add edx, dword [esp + 0x7c]
inc edx
mov dword [esp + 0x7c], edx
or edi, dword [esp + 0x78]
shl dword [esp + 0x78], 1
dec dword [esp + 0x74]
jne 0x4baf59
jmp 0x4bb2ac
sub dword [esp + 0x74], 4
cmp esi, 0x1000000
jae 0x4bb00e
mov ecx, dword [esp + 0x48]
xor edx, edx
shl eax, 8
shl esi, 8
mov dl, byte [ecx]
or eax, edx
inc dword [esp + 0x48]
shr esi, 1
sub eax, esi
xor edx, edx
mov ecx, eax
add edi, edi
shr ecx, 0x1f
sub edx, ecx
mov dword [esp + 0x80], edx
add edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
and ecx, esi
inc edi
add eax, ecx
dec dword [esp + 0x74]
jne 0x4baff2
mov edx, dword [esp + 0xc]
add edx, 0x644
shl edi, 4
mov dword [esp + 0x4c], edx
mov dword [esp + 0x84], 1
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
movzx edx, word [ecx + edx*2]
cmp esi, 0x1000000
jae 0x4bb083
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bb0bd
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x84]
add bp, dx
mov word [ecx + ebx*2], bp
mov edx, dword [esp + 0x84]
add dword [esp + 0x84], edx
jmp 0x4bb0f1
sub esi, ecx
sub eax, ecx
mov ecx, edx
mov ebx, dword [esp + 0x84]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x84]
inc edx
or edi, 1
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
movzx edx, word [ecx + edx*2]
cmp esi, 0x1000000
jae 0x4bb11b
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bb155
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x84]
add bp, dx
mov word [ecx + ebx*2], bp
mov edx, dword [esp + 0x84]
add dword [esp + 0x84], edx
jmp 0x4bb189
sub esi, ecx
sub eax, ecx
mov ecx, edx
mov ebx, dword [esp + 0x84]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x84]
inc edx
or edi, 2
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
movzx edx, word [ecx + edx*2]
cmp esi, 0x1000000
jae 0x4bb1b3
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bb1ed
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x84]
add bp, dx
mov word [ecx + ebx*2], bp
mov edx, dword [esp + 0x84]
add dword [esp + 0x84], edx
jmp 0x4bb221
sub esi, ecx
sub eax, ecx
mov ecx, edx
mov ebx, dword [esp + 0x84]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x84]
inc edx
or edi, 4
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x84]
movzx edx, word [ecx + edx*2]
cmp esi, 0x1000000
jae 0x4bb24b
mov ecx, dword [esp + 0x48]
shl eax, 8
movzx ecx, byte [ecx]
shl esi, 8
or eax, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, eax
jbe 0x4bb277
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x84]
add bp, dx
mov word [ecx + ebx*2], bp
jmp 0x4bb295
sub esi, ecx
sub eax, ecx
mov ecx, edx
mov ebx, dword [esp + 0x84]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
or edi, 8
mov word [ecx + ebx*2], dx
cmp edi, 0xffffffff
jne 0x4bb2ac
add dword [esp + 0x44], 0x112
sub dword [esp + 0x10], 0xc
jmp 0x4bb3ec
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
lea ecx, [edi + 1]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x40], 0
jne 0x4bb2e2
cmp edi, dword [esp + 0x3c]
jb 0x4bb2f2
mov eax, 1
jmp 0x4bb470
cmp edi, dword [esp + 0x40]
jb 0x4bb2f2
mov eax, 1
jmp 0x4bb470
cmp dword [esp + 0x10], 0x13
jae 0x4bb300
mov edx, 7
jmp 0x4bb305
mov edx, 0xa
mov dword [esp + 0x10], edx
add dword [esp + 0x44], 2
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x38]
jne 0x4bb322
mov eax, 1
jmp 0x4bb470
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x38]
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x44]
jae 0x4bb347
mov edx, dword [esp + 0x88]
jmp 0x4bb34b
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
sub ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x14]
jae 0x4bb363
mov ebx, dword [esp + 0x34]
jmp 0x4bb365
xor ebx, ebx
add ecx, ebx
add dword [esp + 0x3c], edx
sub dword [esp + 0x44], edx
lea ebx, [edx + ecx]
cmp ebx, dword [esp + 0x34]
ja 0x4bb3b2
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x38]
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x8c], ecx
mov ecx, edx
add ecx, edi
mov dword [esp + 0x90], ecx
add dword [esp + 0x38], edx
mov edx, dword [esp + 0x8c]
mov dl, byte [edi + edx]
mov byte [edi], dl
inc edi
cmp edi, dword [esp + 0x90]
jne 0x4bb39a
jmp 0x4bb3d4
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov bl, byte [ebx + ecx]
inc ecx
mov byte [edi + ebp], bl
inc dword [esp + 0x38]
cmp ecx, dword [esp + 0x34]
jne 0x4bb3d1
xor ecx, ecx
dec edx
jne 0x4bb3b2
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 4]
jae 0x4bb3ec
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 8]
jb 0x4ba54c
cmp esi, 0x1000000
jae 0x4bb408
mov ecx, dword [esp + 0x48]
xor edx, edx
shl eax, 8
shl esi, 8
mov dl, byte [ecx]
or eax, edx
inc dword [esp + 0x48]
mov ecx, dword [esp]
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x18], edx
mov ecx, dword [esp]
mov dword [ecx + 0x1c], esi
mov edx, dword [esp]
mov dword [edx + 0x20], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x48], ecx
mov eax, dword [esp]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x24], edx
mov ecx, dword [esp]
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x2c], eax
mov edx, dword [esp]
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x38], ecx
mov eax, dword [esp]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x3c], edx
mov ecx, dword [esp]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x40], eax
mov edx, dword [esp]
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x44], ecx
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x34], edx
xor eax, eax
add esp, 0x94
pop ebp
pop edi
pop esi
pop ebx