Function at 0x491500
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x258
mov eax, 1
mov byte [esp + 0x4c], al
push ebx
mov byte [esp + 0x51], al
push esi
mov byte [esp + 0x56], al
push edi
mov byte [esp + 0x5b], al
push ebp
mov byte [esp + 0x60], al
mov byte [esp + 0x61], al
mov byte [esp + 0x62], al
mov byte [esp + 0x63], al
mov byte [esp + 0x64], al
mov byte [esp + 0x65], al
mov byte [esp + 0x66], al
mov byte [esp + 0x67], al
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], al
mov byte [esp + 0x6c], al
mov byte [esp + 0x6d], al
mov byte [esp + 0x6e], al
mov byte [esp + 0x6f], al
mov byte [esp + 0x70], al
mov byte [esp + 0x71], al
mov byte [esp + 0x72], al
mov byte [esp + 0x73], al
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov byte [esp + 0x76], al
mov byte [esp + 0x77], al
mov byte [esp + 0x78], al
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], al
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], al
mov byte [esp + 0x7d], al
mov byte [esp + 0x7e], al
mov byte [esp + 0x7f], al
mov byte [esp + 0x80], al
mov byte [esp + 0x81], al
mov byte [esp + 0x82], al
mov byte [esp + 0x83], 2
mov byte [esp + 0x84], 3
mov byte [esp + 0x85], 4
mov byte [esp + 0x86], 5
mov byte [esp + 0x87], 6
mov byte [esp + 0x88], 7
mov byte [esp + 0x89], 8
mov byte [esp + 0x8a], 9
mov byte [esp + 0x8b], 0xa
mov byte [esp + 0x8c], 0xb
mov byte [esp + 0x8d], 0xc
mov byte [esp + 0x8e], 0xd
mov byte [esp + 0x8f], 0xe
mov byte [esp + 0x90], 0xf
mov byte [esp + 0x91], 0x10
mov byte [esp + 0x92], 0x11
mov byte [esp + 0x93], 0x12
mov byte [esp + 0x94], 0x13
mov byte [esp + 0x95], 0x14
mov byte [esp + 0x96], 0x15
mov byte [esp + 0x97], 0x16
mov byte [esp + 0x98], 0x17
mov byte [esp + 0x99], 0x18
mov byte [esp + 0x9a], 0x19
mov byte [esp + 0x9b], 0x1a
mov byte [esp + 0x9c], 0x1b
mov byte [esp + 0x9d], 0x1c
mov byte [esp + 0x9e], 0x1d
mov byte [esp + 0x9f], 0x1e
mov byte [esp + 0xa0], 0x1f
mov eax, 0x20
mov byte [esp + 0xa1], al
mov byte [esp + 0xa2], al
mov eax, 0x23
mov byte [esp + 0xa3], 0x21
mov byte [esp + 0xa4], 0x22
mov byte [esp + 0xa5], al
mov byte [esp + 0xa6], al
mov eax, 0x27
mov byte [esp + 0xa7], 0x24
mov byte [esp + 0xa8], 0x25
mov byte [esp + 0xa9], al
mov byte [esp + 0xaa], al
mov byte [esp + 0xab], 0x28
mov byte [esp + 0xac], 0x29
mov byte [esp + 0xad], 0x2a
mov byte [esp + 0xae], 0x2b
mov byte [esp + 0xaf], 0x2c
mov byte [esp + 0xb0], 0x2d
mov byte [esp + 0xb1], 0x2e
mov eax, 0x2f
mov byte [esp + 0xb2], al
mov byte [esp + 0xb3], al
mov byte [esp + 0xb4], 0x30
mov byte [esp + 0xb5], 0x31
mov byte [esp + 0xb6], 0x32
mov byte [esp + 0xb7], 0x33
mov byte [esp + 0xb8], 0x34
mov byte [esp + 0xb9], 0x35
mov byte [esp + 0xba], 0x36
mov byte [esp + 0xbb], 0x37
mov byte [esp + 0xbc], 0x38
mov byte [esp + 0xbd], 0x39
mov eax, 0x3a
mov byte [esp + 0xbe], al
mov byte [esp + 0xbf], al
mov eax, 0x3e
mov byte [esp + 0xc0], 0x3b
mov byte [esp + 0xc1], 0x3c
mov byte [esp + 0xc2], al
mov byte [esp + 0xc3], al
mov byte [esp + 0xc4], 0x3f
mov byte [esp + 0xc5], 0x40
mov byte [esp + 0xc6], 0x41
mov byte [esp + 0xc7], 0x42
mov byte [esp + 0xc8], 0x43
mov byte [esp + 0xc9], 0x44
mov byte [esp + 0xca], 0x45
mov byte [esp + 0xcb], 0x46
mov byte [esp + 0xcc], 0x47
mov byte [esp + 0xcd], 0x48
mov byte [esp + 0xce], 0x49
mov byte [esp + 0xcf], 0x4a
mov byte [esp + 0xd0], 0x4b
mov byte [esp + 0xd1], 0x4c
mov byte [esp + 0xd2], 0x4d
mov byte [esp + 0xd3], 0x4e
mov byte [esp + 0xd4], 0x50
mov byte [esp + 0xd5], 0x51
mov byte [esp + 0xd6], 0x52
mov byte [esp + 0xd7], 0x53
mov byte [esp + 0xd8], 0x55
mov byte [esp + 0xd9], 0x56
mov byte [esp + 0xda], 0x57
mov byte [esp + 0xdb], 0x58
mov byte [esp + 0xdc], 0x59
mov byte [esp + 0xdd], 0x5a
mov byte [esp + 0xde], 0x5b
mov byte [esp + 0xdf], 0x5d
mov byte [esp + 0xe0], 0x5e
mov byte [esp + 0xe1], 0x5f
mov byte [esp + 0xe2], 0x60
mov byte [esp + 0xe3], 0x61
mov byte [esp + 0xe4], 0x63
mov byte [esp + 0xe5], 0x64
mov byte [esp + 0xe6], 0x65
mov byte [esp + 0xe7], 0x66
mov byte [esp + 0xe8], 0x67
mov byte [esp + 0xe9], 0x69
mov byte [esp + 0xea], 0x6a
mov byte [esp + 0xeb], 0x6b
mov byte [esp + 0xec], 0x6c
mov byte [esp + 0xed], 0x6e
mov byte [esp + 0xee], 0x70
mov byte [esp + 0xef], 0x72
mov byte [esp + 0xf0], 0x73
mov byte [esp + 0xf1], 0x74
mov byte [esp + 0xf2], 0x76
mov byte [esp + 0xf3], 0x78
mov byte [esp + 0xf4], 0x7a
mov byte [esp + 0xf5], 0x7c
mov byte [esp + 0xf6], 0x7e
mov byte [esp + 0xf7], pe_nt_image_headers32
mov byte [esp + 0xf8], 0x82
mov byte [esp + 0xf9], 0x84
mov byte [esp + 0xfa], 0x86
mov byte [esp + 0xfb], 0x88
mov byte [esp + 0xfc], 0x8a
mov byte [esp + 0xfd], 0x8c
mov byte [esp + 0xfe], 0x8f
mov byte [esp + 0xff], 0x91
mov byte [esp + 0x100], 0x93
mov byte [esp + 0x101], 0x95
mov byte [esp + 0x102], 0x98
mov byte [esp + 0x103], 0x9a
mov byte [esp + 0x104], 0x9c
mov byte [esp + 0x105], 0x9f
mov byte [esp + 0x106], 0xa1
mov byte [esp + 0x107], 0xa4
mov byte [esp + 0x108], 0xa6
mov byte [esp + 0x109], 0xa9
mov byte [esp + 0x10a], 0xab
mov byte [esp + 0x10b], 0xae
mov byte [esp + 0x10c], 0xb0
mov byte [esp + 0x10d], 0xb2
mov byte [esp + 0x10e], 0xb3
mov byte [esp + 0x10f], 0xb5
mov byte [esp + 0x110], 0xb7
mov byte [esp + 0x111], 0xb9
mov byte [esp + 0x112], 0xba
mov byte [esp + 0x113], 0xbc
mov byte [esp + 0x114], 0xbd
mov byte [esp + 0x115], 0xbe
mov byte [esp + 0x116], 0xc0
mov byte [esp + 0x117], 0xc2
mov byte [esp + 0x118], 0xc4
mov byte [esp + 0x119], 0xc6
mov byte [esp + 0x11a], 0xc8
mov byte [esp + 0x11b], 0xca
mov byte [esp + 0x11c], 0xcc
mov byte [esp + 0x11d], 0xce
mov byte [esp + 0x11e], 0xd0
mov byte [esp + 0x11f], 0xd2
mov byte [esp + 0x120], 0xd4
mov byte [esp + 0x121], 0xd6
mov byte [esp + 0x122], 0xd9
mov byte [esp + 0x123], 0xdb
mov byte [esp + 0x124], 0xdd
mov byte [esp + 0x125], 0xe0
mov byte [esp + 0x126], 0xe3
mov byte [esp + 0x127], 0xe6
mov byte [esp + 0x128], 0xe8
mov byte [esp + 0x129], 0xeb
mov byte [esp + 0x12a], 0xed
mov byte [esp + 0x12b], 0xef
mov byte [esp + 0x12c], 0xf2
mov byte [esp + 0x12d], 0xf5
mov byte [esp + 0x12e], 0xf8
mov byte [esp + 0x12f], 0xfb
mov eax, 0xfe
mov byte [esp + 0x130], al
mov byte [esp + 0x131], al
mov byte [esp + 0x132], al
mov byte [esp + 0x133], al
mov byte [esp + 0x134], al
mov byte [esp + 0x135], al
mov byte [esp + 0x136], al
mov byte [esp + 0x137], al
mov byte [esp + 0x138], al
mov byte [esp + 0x139], al
mov byte [esp + 0x13a], al
mov byte [esp + 0x13b], al
mov byte [esp + 0x13c], al
mov byte [esp + 0x13d], al
mov byte [esp + 0x13e], al
mov byte [esp + 0x13f], al
mov byte [esp + 0x140], al
mov byte [esp + 0x141], al
mov byte [esp + 0x142], al
mov byte [esp + 0x143], al
mov byte [esp + 0x144], al
mov byte [esp + 0x145], al
mov byte [esp + 0x146], al
mov byte [esp + 0x147], al
mov byte [esp + 0x148], al
mov byte [esp + 0x149], al
mov byte [esp + 0x14a], al
mov byte [esp + 0x14b], al
mov byte [esp + 0x14c], al
mov byte [esp + 0x14d], al
mov byte [esp + 0x14e], al
mov byte [esp + 0x14f], al
mov byte [esp + 0x150], al
mov byte [esp + 0x151], al
mov byte [esp + 0x152], al
mov byte [esp + 0x153], al
mov byte [esp + 0x154], al
mov byte [esp + 0x155], al
cmp dword [esp + 0x270], 0
mov byte [esp + 0x156], al
mov byte [esp + 0x157], al
mov byte [esp + 0x158], al
mov byte [esp + 0x159], al
mov byte [esp + 0x15a], al
mov byte [esp + 0x15b], al
jne 0x491c80
mov ax, 0x65
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x258
ret
cmp dword [esp + 0x274], 0
jne 0x491c99
mov ax, 0x65
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x258
ret
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x274]
cmp dword [esp + 0x26c], 0
mov dword [eax], 0
je 0x491ccf
mov eax, dword [esp + 0x26c]
push 0
push 0
push 0x401
push eax
call dword [case.0x427228.0]
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c258c]
mov ecx, eax
mov ax, word [ecx + 0xe]
cmp ax, 1
jne 0x491d06
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c2590]
mov ax, 0x65
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x258
ret
cmp ax, 0x18
jne 0x491d5e
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x27c]
lea edx, [esp + 0x164]
push ecx
mov dword [esp + 0x54], eax
push edx
push eax
call fcn.00492ad0
add esp, 0xc
test ax, ax
jne 0x492aaa
mov eax, dword [esp + 0x164]
mov dword [esp + 0x270], eax
push eax
call dword [0x4c258c]
mov ecx, eax
mov eax, dword [ecx + 4]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
imul eax, dword [ecx + 8]
mov ecx, dword [esp + 0x270]
lea esi, [eax*4]
push ecx
call dword [0x4c2590]
lea eax, [esi + 0x30]
push eax
push 0x42
call dword [0x4c2588]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x491dbe
cmp dword [esp + 0x50], 0
je 0x491daf
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c2594]
mov ax, 0x66
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x258
ret
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x4c258c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c258c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], eax
xor eax, eax
mov edx, dword [esp + 0x28]
mov ax, word [edx + 0xe]
imul eax, ecx
add eax, 0x1f
cdq
mov word [esp + 0x1a], cx
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
mov cx, word [edx + 8]
mov edi, dword [esp + 0x20]
sar eax, 5
shl eax, 2
xor bx, bx
mov dword [esp + 0x15c], eax
mov word [esp + 0x16], cx
mov eax, edx
cmp dword [edx], 0
jle 0x491e38
inc bx
mov cl, byte [eax]
mov byte [edi], cl
inc eax
inc edi
mov edx, dword [esp + 0x28]
movsx ecx, bx
cmp ecx, dword [edx]
jl 0x491e25
mov edx, dword [esp + 0x20]
xor eax, eax
mov word [edx + 0xe], 1
mov dword [edx + 0x20], 2
mov dword [edx + 0x24], 2
inc edi
mov dword [edx + 0x14], esi
inc edi
inc edi
inc edi
inc edi
mov byte [edi - 5], al
mov byte [edi - 4], al
inc edi
mov bp, 0xff
mov byte [edi - 4], al
mov word [esp + 0x1e], ax
mov edx, dword [esp + 0x28]
mov byte [edi - 3], al
mov byte [edi - 2], 0xff
mov byte [edi - 1], 0xff
mov word [esp + 0x30], ax
mov byte [edi], 0xff
mov byte [edi + 1], al
mov esi, dword [edx]
mov ecx, dword [edx + 0x20]
add esi, edx
mov dword [esp + 0x54], ecx
cmp ecx, eax
jle 0x491f79
mov ax, word [esp + 0x168]
xor ecx, ecx
mov cl, byte [esp + 0x27c]
cmp ecx, 3
ja 0x491f10
jmp dword [ecx*4 + 0x491eb8]
cmp byte [esp + 0x280], 0
je 0x491f30
xor edx, edx
mov dl, al
movsx edi, word [esp + 0x30]
mov dl, byte [esp + edx + 0x5c]
mov byte [esp + edi + 0x168], dl
jmp 0x491f3c
movsx edx, word [esp + 0x30]
mov byte [esp + edx + 0x168], al
movsx ebx, word [esp + 0x30]
movzx dx, byte [esp + ebx + 0x168]
movzx edi, dx
movsx ebx, bp
cmp ebx, edi
jle 0x491f57
mov bp, dx
movsx ebx, word [esp + 0x1e]
cmp ebx, edi
jge 0x491f65
mov word [esp + 0x1e], dx
inc word [esp + 0x30]
movsx edx, word [esp + 0x30]
cmp edx, dword [esp + 0x54]
jl 0x491eab
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
push eax
push 0x42
call dword [0x4c2588]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
push ecx
push 0x42
call dword [0x4c2588]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
push ecx
push 0x42
call dword [0x4c2588]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x40], eax
je 0x492a39
cmp dword [esp + 0x3c], 0
je 0x492a39
test eax, eax
je 0x492a39
mov eax, dword [esp + 0x38]
push eax
call dword [0x4c258c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
push eax
call dword [0x4c258c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x4c258c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x492020
mov cx, word [edx + 0xe]
cmp cx, 8
jbe 0x492019
xor eax, eax
jmp 0x492023
mov eax, 1
shl eax, cl
shl eax, 2
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
add ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x160], edx
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x492054
mov cx, word [ecx + 0xe]
cmp cx, 8
jbe 0x49204d
xor eax, eax
jmp 0x492057
mov eax, 1
shl eax, cl
shl eax, 2
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
add ecx, eax
mov ax, word [esp + 0x16]
add ecx, edx
sub ax, 2
mov dword [esp + 0x54], ecx
xor si, si
mov ecx, dword [esp + 0x160]
movsx eax, ax
imul eax, dword [esp + 0x15c]
add ecx, eax
cmp word [esp + 0x1a], si
jle 0x4920ee
xor eax, eax
mov edx, dword [esp + 0x28]
mov ax, word [edx + 0xe]
cmp eax, 4
je 0x4920a2
cmp eax, 8
je 0x4920cd
jmp 0x4920e5
movsx eax, si
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
test ax, ax
mov al, byte [ecx]
je 0x4920bd
and al, 0xf
inc ecx
jmp 0x4920c0
shr al, 4
xor edx, edx
mov dl, al
mov dl, byte [esp + edx + 0x168]
jmp 0x4920db
mov dl, byte [ecx]
inc ecx
xor eax, eax
mov al, dl
mov dl, byte [esp + eax + 0x168]
mov eax, dword [esp + 0x48]
movsx edi, si
mov byte [edi + eax], dl
inc si
cmp si, word [esp + 0x1a]
jl 0x49208c
mov si, word [esp + 0x16]
mov ecx, dword [esp + 0x160]
mov word [esp + 0x1c], 0
dec si
movsx eax, si
imul eax, dword [esp + 0x15c]
add ecx, eax
cmp word [esp + 0x1a], 0
jle 0x49217b
xor eax, eax
mov edx, dword [esp + 0x28]
mov ax, word [edx + 0xe]
cmp eax, 4
je 0x49212e
cmp eax, 8
je 0x492150
jmp 0x49216a
movsx eax, word [esp + 0x1c]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
test ax, ax
mov al, byte [ecx]
je 0x49214b
and al, 0xf
inc ecx
jmp 0x492153
shr al, 4
jmp 0x492153
mov al, byte [ecx]
inc ecx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x44]
movsx edi, word [esp + 0x1c]
mov dl, byte [esp + edx + 0x168]
mov byte [edi + eax], dl
inc word [esp + 0x1c]
mov ax, word [esp + 0x1c]
cmp ax, word [esp + 0x1a]
jl 0x492118
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [esp + 0x5c], eax
movsx ecx, bp
movsx eax, word [esp + 0x1e]
mov word [esp + 0x18], si
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov word [esp + 0x14], ax
cmp si, 0xffff
jle 0x49291b
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
movsx eax, word [esp + 0x1c]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [esp + 0x18]
mov dword [esp + 0x58], ecx
lea eax, [ecx - 2]
cmp eax, 0xffffffff
jle 0x49226d
xor si, si
mov ecx, dword [esp + 0x15c]
imul ecx, eax
add ecx, dword [esp + 0x160]
cmp word [esp + 0x1a], si
jle 0x49226d
xor eax, eax
mov edx, dword [esp + 0x28]
mov ax, word [edx + 0xe]
cmp eax, 4
je 0x49222c
cmp eax, 8
je 0x49224c
jmp 0x492264
movsx eax, si
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
test ax, ax
mov al, byte [ecx]
je 0x492247
and al, 0xf
inc ecx
jmp 0x49224f
shr al, 4
jmp 0x49224f
mov al, byte [ecx]
inc ecx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x48]
movsx edi, si
mov dl, byte [esp + edx + 0x168]
mov byte [edi + eax], dl
inc si
cmp si, word [esp + 0x1a]
jl 0x492216
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x5c]
imul ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x54]
cmp dword [esp + 0x26c], 0
mov dword [esp + 0x4c], ecx
je 0x4922cb
movsx ecx, word [esp + 0x16]
mov eax, ecx
push 0
sub eax, dword [esp + 0x5c]
shl eax, 2
lea edx, [eax + eax*4]
lea eax, [edx + edx*4]
cdq
idiv ecx
mov ecx, dword [esp + 0x270]
push eax
push 0x401
push ecx
call dword [case.0x427228.0]
push 0x1b
call dword [0x4c3300]
test ax, ax
jl 0x4929bd
mov word [esp + 0x1c], 0
cmp word [esp + 0x1a], 0
jle 0x4928f7
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
movsx edi, word [esp + 0x1c]
add ecx, edi
movzx bx, byte [ecx]
cmp bx, word [esp + 0x14]
jle 0x492307
sub bx, word [esp + 0x1e]
mov al, byte [edx]
add al, al
inc al
mov byte [edx], al
jmp 0x49230d
shl byte [edx], 1
sub bx, bp
inc byte [esp + 0x13]
cmp byte [esp + 0x13], 8
jne 0x492321
mov byte [esp + 0x13], 0
inc dword [esp + 0x4c]
cmp byte [esp + 0x278], 0
je 0x4928e2
xor eax, eax
mov al, byte [esp + 0x278]
cmp eax, 1
je 0x492354
cmp eax, 2
je 0x492428
cmp eax, 3
je 0x4925ad
jmp 0x4928e2
movsx eax, word [esp + 0x1a]
lea edx, [edi + 1]
mov dword [esp + 0x2c], eax
cmp edx, eax
jge 0x492390
movsx eax, bx
mov edx, eax
shl eax, 3
sub eax, edx
sar eax, 4
movzx dx, byte [ecx + 1]
add ax, dx
cmp ax, bp
jge 0x492381
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x49238d
mov ax, word [esp + 0x1e]
mov byte [ecx + 1], al
cmp word [esp + 0x18], 0
jle 0x4928e2
movsx edx, bx
mov ecx, dword [esp + 0x44]
lea eax, [edx + edx*4]
sar eax, 4
add ecx, edi
movzx si, byte [ecx]
add ax, si
cmp ax, bp
jge 0x4923ba
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x4923c6
mov ax, word [esp + 0x1e]
inc edi
mov byte [ecx], al
cmp edi, dword [esp + 0x2c]
jge 0x4923f2
sar bx, 4
movzx ax, byte [ecx + 1]
add bx, ax
cmp bx, bp
jge 0x4923e3
mov bx, bp
cmp word [esp + 0x1e], bx
jge 0x4923ef
mov bx, word [esp + 0x1e]
mov byte [ecx + 1], bl
cmp word [esp + 0x1c], 0
jle 0x4928e2
lea edx, [edx + edx*2]
sar edx, 4
movzx ax, byte [ecx - 1]
add dx, ax
cmp dx, bp
jge 0x492414
mov dx, bp
cmp word [esp + 0x1e], dx
jge 0x492420
mov dx, word [esp + 0x1e]
mov byte [ecx - 1], dl
jmp 0x4928e2
movsx edx, word [esp + 0x1a]
lea eax, [edi + 1]
cmp eax, edx
jge 0x49245c
movsx eax, bx
shl eax, 3
sar eax, 5
movzx si, byte [ecx + 1]
add ax, si
cmp ax, bp
jge 0x49244d
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492459
mov ax, word [esp + 0x1e]
mov byte [ecx + 1], al
lea eax, [edi + 2]
cmp eax, edx
jge 0x49248b
movsx eax, bx
shl eax, 2
sar eax, 5
movzx si, byte [ecx + 2]
add ax, si
cmp ax, bp
jge 0x49247c
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492488
mov ax, word [esp + 0x1e]
mov byte [ecx + 2], al
cmp word [esp + 0x18], 0
jle 0x4928e2
movsx esi, bx
mov eax, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x20], eax
lea eax, [esi*8]
sar eax, 5
mov ebx, dword [esp + 0x20]
movzx cx, byte [ebx]
add ax, cx
cmp ax, bp
jge 0x4924c1
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x4924cd
mov ax, word [esp + 0x1e]
mov ecx, dword [esp + 0x20]
mov byte [ecx], al
lea eax, [edi + 2]
cmp eax, edx
jge 0x492507
lea eax, [esi*2]
sar eax, 5
movzx cx, byte [ecx + 2]
add ax, cx
cmp ax, bp
jge 0x4924f4
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492500
mov ax, word [esp + 0x1e]
mov ecx, dword [esp + 0x20]
mov byte [ecx + 2], al
lea eax, [edi + 1]
cmp eax, edx
jge 0x49253a
mov ecx, dword [esp + 0x20]
lea eax, [esi*4]
sar eax, 5
inc ecx
movzx dx, byte [ecx]
add ax, dx
cmp ax, bp
jge 0x49252c
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492538
mov ax, word [esp + 0x1e]
mov byte [ecx], al
cmp word [esp + 0x1c], 0
jle 0x49256e
mov ecx, dword [esp + 0x20]
lea eax, [esi*4]
sar eax, 5
dec ecx
movzx dx, byte [ecx]
add ax, dx
cmp ax, bp
jge 0x492560
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x49256c
mov ax, word [esp + 0x1e]
mov byte [ecx], al
dec edi
test edi, edi
jle 0x4928e2
lea edx, [esi*2]
mov ecx, dword [esp + 0x20]
sar edx, 5
movzx ax, byte [ecx - 2]
add dx, ax
cmp dx, bp
jge 0x492595
mov dx, bp
cmp word [esp + 0x1e], dx
jge 0x4925a1
mov dx, word [esp + 0x1e]
mov ecx, dword [esp + 0x20]
mov byte [ecx - 2], dl
jmp 0x4928e2
movsx eax, word [esp + 0x1a]
lea edx, [edi + 1]
mov dword [esp + 0x2c], eax
cmp edx, eax
jge 0x4925ea
movsx eax, bx
shl eax, 3
mov esi, 0x2a
cdq
idiv esi
movzx dx, byte [ecx + 1]
add ax, dx
cmp ax, bp
jge 0x4925db
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x4925e7
mov ax, word [esp + 0x1e]
mov byte [ecx + 1], al
lea eax, [edi + 2]
cmp eax, dword [esp + 0x2c]
jge 0x492620
movsx eax, bx
shl eax, 2
mov esi, 0x2a
cdq
idiv esi
movzx dx, byte [ecx + 2]
add ax, dx
cmp ax, bp
jge 0x492611
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x49261d
mov ax, word [esp + 0x1e]
mov byte [ecx + 2], al
cmp word [esp + 0x18], 0
jle 0x492776
mov dword [esp + 0x20], 0x2a
movsx esi, bx
mov ecx, dword [esp + 0x44]
lea eax, [esi*8]
cdq
add ecx, edi
idiv dword [esp + 0x20]
movzx dx, byte [ecx]
add ax, dx
cmp ax, bp
jge 0x492658
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492664
mov ax, word [esp + 0x1e]
mov byte [ecx], al
lea eax, [edi + 2]
cmp eax, dword [esp + 0x2c]
jge 0x4926af
lea edx, [ecx + 2]
lea eax, [esi*2]
mov dword [esp + 0x20], 0x2a
mov dword [esp + 0x24], edx
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx dx, byte [edx]
add ax, dx
cmp ax, bp
jge 0x49269d
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x4926a9
mov ax, word [esp + 0x1e]
mov edx, dword [esp + 0x24]
mov byte [edx], al
lea eax, [edi + 1]
cmp eax, dword [esp + 0x2c]
jge 0x4926f8
lea edx, [ecx + 1]
lea eax, [esi*4]
mov dword [esp + 0x20], 0x2a
mov dword [esp + 0x24], edx
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx dx, byte [edx]
add ax, dx
cmp ax, bp
jge 0x4926e6
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x4926f2
mov ax, word [esp + 0x1e]
mov edx, dword [esp + 0x24]
mov byte [edx], al
cmp word [esp + 0x1c], 0
jle 0x492740
lea edx, [ecx - 1]
lea eax, [esi*4]
mov dword [esp + 0x20], 0x2a
mov dword [esp + 0x24], edx
cdq
idiv dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx dx, byte [edx]
add ax, dx
cmp ax, bp
jge 0x49272e
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x49273a
mov ax, word [esp + 0x1e]
mov edx, dword [esp + 0x24]
mov byte [edx], al
lea eax, [edi - 1]
test eax, eax
jle 0x492776
sub ecx, 2
lea eax, [esi*2]
cdq
mov esi, 0x2a
idiv esi
movzx dx, byte [ecx]
add ax, dx
cmp ax, bp
jge 0x492768
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492774
mov ax, word [esp + 0x1e]
mov byte [ecx], al
mov eax, dword [esp + 0x58]
dec eax
test eax, eax
jle 0x4928e2
mov eax, dword [esp + 0x48]
mov ecx, 0x2a
movsx esi, bx
add eax, edi
mov dword [esp + 0x24], eax
lea eax, [esi*4]
cdq
idiv ecx
mov edx, dword [esp + 0x24]
movzx cx, byte [edx]
add ax, cx
cmp ax, bp
jge 0x4927b2
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x4927be
mov ax, word [esp + 0x1e]
mov ecx, dword [esp + 0x24]
mov byte [ecx], al
lea eax, [edi + 2]
cmp eax, dword [esp + 0x2c]
jge 0x492818
mov word [esp + 0x20], 0x2a
mov eax, ecx
movzx cx, byte [eax + 2]
mov ax, bx
cwd
idiv word [esp + 0x20]
add cx, ax
mov word [esp + 0x20], cx
cmp cx, bp
jge 0x4927f7
mov word [esp + 0x20], bp
mov ax, word [esp + 0x20]
cmp word [esp + 0x1e], ax
jge 0x49280d
mov ax, word [esp + 0x1e]
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x20]
mov byte [ecx + 2], al
lea eax, [edi + 1]
cmp eax, dword [esp + 0x2c]
jge 0x492857
lea eax, [esi*2]
mov ecx, 0x2a
cdq
idiv ecx
mov edx, dword [esp + 0x24]
movzx cx, byte [edx + 1]
add ax, cx
cmp ax, bp
jge 0x492844
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x492850
mov ax, word [esp + 0x1e]
mov ecx, dword [esp + 0x24]
mov byte [ecx + 1], al
cmp word [esp + 0x1c], 0
jle 0x492895
lea eax, [esi*2]
mov ecx, 0x2a
cdq
idiv ecx
mov edx, dword [esp + 0x24]
movzx cx, byte [edx - 1]
add ax, cx
cmp ax, bp
jge 0x492882
mov ax, bp
cmp word [esp + 0x1e], ax
jge 0x49288e
mov ax, word [esp + 0x1e]
mov ecx, dword [esp + 0x24]
mov byte [ecx - 1], al
dec edi
test edi, edi
jle 0x4928e2
mov si, 0x2a
mov eax, dword [esp + 0x24]
movzx cx, byte [eax - 2]
mov ax, bx
cwd
idiv si
add cx, ax
mov word [esp + 0x20], cx
cmp cx, bp
jge 0x4928c1
mov word [esp + 0x20], bp
mov ax, word [esp + 0x20]
cmp word [esp + 0x1e], ax
jge 0x4928d7
mov ax, word [esp + 0x1e]
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x20]
mov byte [ecx - 2], al
inc word [esp + 0x1c]
mov ax, word [esp + 0x1c]
cmp ax, word [esp + 0x1a]
jl 0x4922de
cmp byte [esp + 0x13], 0
je 0x49290a
mov cl, 8
mov edx, dword [esp + 0x4c]
sub cl, byte [esp + 0x13]
shl byte [edx], cl
dec word [esp + 0x18]
cmp word [esp + 0x18], 0xffff
jg 0x4921b9
cmp dword [esp + 0x26c], 0
je 0x49293c
mov eax, dword [esp + 0x26c]
push 0
push 0x64
push 0x401
push eax
call dword [case.0x427228.0]
mov eax, dword [esp + 0x38]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x38]
mov esi, dword [0x4c2594]
push eax
call esi
mov ecx, dword [esp + 0x3c]
push ecx
call dword [0x4c2590]
mov eax, dword [esp + 0x3c]
push eax
call esi
mov eax, dword [esp + 0x40]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x40]
push eax
call esi
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x4c2590]
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c2590]
cmp dword [esp + 0x50], 0
je 0x4929a2
mov eax, dword [esp + 0x270]
push eax
call esi
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x34]
pop ebp
pop edi
pop esi
mov dword [eax], ecx
xor ax, ax
pop ebx
add esp, 0x258
ret
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x4c2590]
mov ecx, dword [esp + 0x34]
mov esi, dword [0x4c2594]
push ecx
call esi
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x4c2590]
mov eax, dword [esp + 0x38]
push eax
call esi
mov eax, dword [esp + 0x3c]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x3c]
push eax
call esi
mov eax, dword [esp + 0x40]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x40]
push eax
call esi
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c2590]
cmp dword [esp + 0x50], 0
je 0x492a2a
mov eax, dword [esp + 0x270]
push eax
call esi
mov ax, 0x64
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x258
ret
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x4c2590]
mov ecx, dword [esp + 0x34]
mov esi, dword [0x4c2594]
push ecx
call esi
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x4c2590]
mov eax, dword [esp + 0x38]
push eax
call esi
mov eax, dword [esp + 0x3c]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x3c]
push eax
call esi
mov eax, dword [esp + 0x40]
push eax
call dword [0x4c2590]
mov eax, dword [esp + 0x40]
push eax
call esi
mov eax, dword [esp + 0x270]
push eax
call dword [0x4c2590]
cmp dword [esp + 0x50], 0
je 0x492aa6
mov eax, dword [esp + 0x270]
push eax
call esi
mov ax, 0x66
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x258
ret