Function at 0x4c00e0
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 0x4c01f3
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 0x4c0421
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 0x4c0235
cmp dword [esp + 0x3c], 0
je 0x4c0276
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 0x4c0259
mov ebx, dword [esp + 0x34]
jmp 0x4c025d
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 0x4c030b
cmp dword [esp + 0x10], 4
jae 0x4c028e
mov ecx, dword [esp + 0x10]
jmp 0x4c0293
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 0x4c02bf
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 0x4c02e6
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 0x4c02fe
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 0x4c029c
jmp 0x4c0402
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x14]
jae 0x4c0323
mov ecx, dword [esp + 0x34]
jmp 0x4c0325
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 0x4c034b
mov edx, 3
jmp 0x4c0350
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 0x4c03a7
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 0x4c03d7
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 0x4c03f6
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 0x4c0359
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 0x4c1034
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 0x4c046a
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 0x4c04a4
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 0x4c0745
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 0x4c04cf
cmp dword [esp + 0x3c], 0
jne 0x4c04cf
mov eax, 1
jmp 0x4c10d0
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 0x4c0505
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 0x4c05f8
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 0x4c056c
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 0x4c05e0
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 0x4c05a6
mov ecx, dword [esp + 0x34]
jmp 0x4c05a8
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 0x4c05d2
mov edx, 9
jmp 0x4c05d7
mov edx, 0xb
mov dword [esp + 0x10], edx
jmp 0x4c1034
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 0x4c0720
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 0x4c0641
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 0x4c0670
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 0x4c0710
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 0x4c06b9
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 0x4c06e5
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 0x4c0708
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 0x4c072e
mov edx, 8
jmp 0x4c0733
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 0x4c0767
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 0x4c07a8
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
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], 8
jmp 0x4c0848
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 0x4c07dc
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 0x4c081f
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 0x4c0848
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 0x4c0873
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 0x4c08a0
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 0x4c08c1
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 0x4c0850
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 0x4c0f69
cmp dword [esp + 0x44], 4
jae 0x4c08f3
mov ecx, dword [esp + 0x44]
jmp 0x4c08f8
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 0x4c0933
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 0x4c095a
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 0x4c0972
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 0x4c0995
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 0x4c09bc
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 0x4c09d4
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 0x4c09f7
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 0x4c0a1e
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 0x4c0a36
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 0x4c0a59
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 0x4c0a80
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 0x4c0a98
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 0x4c0abb
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 0x4c0ae2
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 0x4c0afa
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 0x4c0b1d
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 0x4c0b44
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 0x4c0b5c
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 0x4c0f0c
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 0x4c0c4d
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 0x4c0be0
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 0x4c0c11
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 0x4c0c3a
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 0x4c0bb9
jmp 0x4c0f0c
sub dword [esp + 0x74], 4
cmp esi, 0x1000000
jae 0x4c0c6e
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 0x4c0c52
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 0x4c0ce3
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 0x4c0d1d
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 0x4c0d51
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 0x4c0d7b
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 0x4c0db5
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 0x4c0de9
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 0x4c0e13
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 0x4c0e4d
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 0x4c0e81
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 0x4c0eab
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 0x4c0ed7
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 0x4c0ef5
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 0x4c0f0c
add dword [esp + 0x44], 0x112
sub dword [esp + 0x10], 0xc
jmp 0x4c104c
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 0x4c0f42
cmp edi, dword [esp + 0x3c]
jb 0x4c0f52
mov eax, 1
jmp 0x4c10d0
cmp edi, dword [esp + 0x40]
jb 0x4c0f52
mov eax, 1
jmp 0x4c10d0
cmp dword [esp + 0x10], 0x13
jae 0x4c0f60
mov edx, 7
jmp 0x4c0f65
mov edx, 0xa
mov dword [esp + 0x10], edx
add dword [esp + 0x44], 2
mov ecx, dword [esp + 4]
cmp ecx, dword [esp + 0x38]
jne 0x4c0f82
mov eax, 1
jmp 0x4c10d0
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 0x4c0fa7
mov edx, dword [esp + 0x88]
jmp 0x4c0fab
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 0x4c0fc3
mov ebx, dword [esp + 0x34]
jmp 0x4c0fc5
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 0x4c1012
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 0x4c0ffa
jmp 0x4c1034
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 0x4c1031
xor ecx, ecx
dec edx
jne 0x4c1012
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 4]
jae 0x4c104c
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 8]
jb 0x4c01ac
cmp esi, 0x1000000
jae 0x4c1068
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
ret