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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [0x57c748]
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x491e60
mov eax, dword [esp + 0x64]
test eax, eax
je 0x491e6a
cmp dword [esp + 0x64], 2
je 0x491e78
cmp dword [esp + 0x64], 1
je 0x491a91
cmp dword [esp + 0x64], 7
jne 0x491ee0
test ebx, ebx
je 0x491f10
movzx eax, byte [ebx + 0x78]
test al, 1
je 0x491ef8
cmp dword [esp + 0x64], 7
je 0x491ec0
cmp dword [ebx + 8], 1
je 0x491ad0
add dword [ebx + 0x1c], 1
mov edx, ebx
add esp, 0x4c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x24], edi
test al, 0x40
jne 0x491ae5
cmp dword [esp + 0x60], edi
jne 0x4920c0
mov eax, dword [ebx]
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x28], eax
cmp esi, eax
je 0x491e6a
cmp dword [esp + 0x28], esi
jb 0x4921fb
lea eax, [esi + 0x3c]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x28], eax
jb 0x49220c
add esi, dword [ebx + 0xc]
cmp word [esi + 0x3a], 0xa60
jne 0x49221d
cmp byte [esi + 0xf], 0x20
jne 0x49239a
cmp byte [esi + 0xe], 0x20
jne 0x4923bd
cmp byte [esi + 0xd], 0x20
jne 0x4920d1
cmp byte [esi + 0xc], 0x20
jne 0x492882
cmp byte [esi + 0xb], 0x20
jne 0x492e88
cmp byte [esi + 0xa], 0x20
jne 0x492e9a
cmp byte [esi + 9], 0x20
jne 0x492eac
cmp byte [esi + 8], 0x20
jne 0x493026
cmp byte [esi + 7], 0x20
jne 0x493014
cmp byte [esi + 6], 0x20
jne 0x49307c
cmp byte [esi + 5], 0x20
jne 0x493162
cmp byte [esi + 4], 0x20
jne 0x493194
cmp byte [esi + 3], 0x20
jne 0x4931b8
cmp byte [esi + 2], 0x20
jne 0x4931ca
cmp byte [esi + 1], 0x20
jne 0x493259
cmp byte [esi], 0x20
jne 0x493240
cmp byte [esi], 0x2f
je 0x4922be
mov dword [esp + 0x3c], esi
mov edx, 0x2e
mov dword [esp + 0x34], 0
mov dword [esp], edx
call sym._malloc
mov dword [esp + 0x18], eax
test eax, eax
je 0x49331d
lea edi, [eax + 0x1c]
mov dword [eax], 0
mov dword [eax + 0x18], edi
cmp byte [esi + 0x10], 0x20
mov dword [esp + 0x38], edi
jne 0x49257b
cmp byte [esi + 0x11], 0x20
jne 0x492e6e
cmp byte [esi + 0x12], 0x20
jne 0x492e5e
cmp byte [esi + 0x13], 0x20
jne 0x492ebe
cmp byte [esi + 0x14], 0x20
jne 0x493048
cmp byte [esi + 0x15], 0x20
jne 0x493038
cmp byte [esi + 0x16], 0x20
jne 0x49306c
cmp byte [esi + 0x17], 0x20
jne 0x493184
cmp byte [esi + 0x18], 0x20
jne 0x493174
cmp byte [esi + 0x19], 0x20
jne 0x493218
cmp byte [esi + 0x1a], 0x20
jne 0x493208
xor ecx, ecx
cmp byte [esi + 0x1b], 0x20
mov dword [esp + 0x1c], 0
jne 0x493228
mov eax, dword [esp + 0x18]
mov dword [eax + 4], ecx
cmp byte [esi + 0x1c], 0x20
jne 0x492894
cmp byte [esi + 0x1d], 0x20
jne 0x492e4e
cmp byte [esi + 0x1e], 0x20
jne 0x492e3e
cmp byte [esi + 0x1f], 0x20
jne 0x492ed7
cmp byte [esi + 0x20], 0x20
jne 0x493004
xor ebp, ebp
cmp byte [esi + 0x21], 0x20
jne 0x492f42
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ebp
cmp byte [esi + 0x22], 0x20
jne 0x492c1c
cmp byte [esi + 0x23], 0x20
jne 0x492dce
cmp byte [esi + 0x24], 0x20
jne 0x492dbe
cmp byte [esi + 0x25], 0x20
jne 0x492f02
cmp byte [esi + 0x26], 0x20
jne 0x492fc0
xor ebp, ebp
cmp byte [esi + 0x27], 0x20
jne 0x492f84
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], ebp
cmp byte [esi + 0x28], 0x20
jne 0x492a1e
cmp byte [esi + 0x29], 0x20
jne 0x492e02
cmp byte [esi + 0x2a], 0x20
jne 0x492df2
cmp byte [esi + 0x2b], 0x20
jne 0x492f12
cmp byte [esi + 0x2c], 0x20
jne 0x492fd0
cmp byte [esi + 0x2d], 0x20
jne 0x492fb0
cmp byte [esi + 0x2e], 0x20
jne 0x4930e0
cmp byte [esi + 0x2f], 0x20
mov dword [esp + 0x20], 0
jne 0x4930f0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov dword [eax + 0x10], edi
cmp byte [esi + 0x30], 0x20
jne 0x4923cf
cmp byte [esi + 0x31], 0x20
jne 0x492e22
cmp byte [esi + 0x32], 0x20
jne 0x492e12
cmp byte [esi + 0x33], 0x20
jne 0x492f22
cmp byte [esi + 0x34], 0x20
jne 0x492f32
cmp byte [esi + 0x35], 0x20
jne 0x492fe0
cmp byte [esi + 0x36], 0x20
jne 0x493096
cmp byte [esi + 0x37], 0x20
jne 0x49314a
cmp byte [esi + 0x38], 0x20
jne 0x49313a
xor eax, eax
xor ebp, ebp
cmp byte [esi + 0x39], 0x20
jne 0x4931dc
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x14], eax
test ecx, ecx
jne 0x4921de
mov eax, dword [esp + 0x30]
add eax, ebp
cmp dword [esp + 0x28], eax
jb 0x4922ef
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov byte [eax + 0x2c], 0
test edx, edx
je 0x491f47
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov esi, eax
lea eax, [eax + 0x2d]
mov dword [esi], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov byte [esi + edi + 0x2d], 0
mov ebp, dword [esi + 0x14]
jmp 0x491f47
mov dword [0x57c744], 0x21
xor edx, edx
jmp 0x491abc
mov dword [esp], pe_nt_image_headers32
call sym._malloc
mov edx, eax
test eax, eax
je 0x4932ab
xor eax, eax
mov ecx, 0x20
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 0x1c], 1
mov dword [edx + 0x7c], 0x12b649e
mov dword [edx + 0x18], eax
mov eax, edx
mov byte [edx + 0x78], 2
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
test al, 2
je 0x491ef8
cmp dword [ebx + 8], 1
jne 0x491ab6
mov dword [0x57c744], 0xb
xor edx, edx
jmp 0x491abc
mov dword [0x57c744], 5
xor edx, edx
jmp 0x491abc
mov dword [0x57c744], 0xa
xor edx, edx
jmp 0x491abc
mov eax, dword [esp + 0x60]
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._lseek
mov ebp, eax
cmp eax, 0xffffffff
je 0x4922de
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], eax
mov dword [esp], pe_nt_image_headers32
call sym._malloc
mov esi, eax
test eax, eax
je 0x4932ab
xor eax, eax
mov ecx, 0x20
mov edi, esi
cmp dword [esp + 0x64], 1
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x7c], 0x12b649e
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 4], ebp
mov dword [esi], ebp
je 0x491f90
or byte [esi + 0x78], 2
or byte [esi + 0x78], 1
test ebx, ebx
je 0x492090
mov eax, dword [ebx + 0x34]
mov edi, dword [ebx + 0x38]
lea ecx, [eax + 0x3c]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x28]
add eax, ecx
mov dword [esi + 0x28], eax
test edi, edi
je 0x491ff8
mov edx, edi
jmp 0x491fc7
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x491ff8
cmp eax, dword [edx + 0x28]
jne 0x491fc0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp], eax
call sym._free
mov dword [esp], esi
call sym._free
mov edx, dword [esp + 0x1c]
add dword [edx + 0x1c], 1
jmp 0x491abc
test ebp, ebp
jne 0x4920a8
lea eax, [ebp + 1]
movzx edx, byte [esi + 0x78]
add dword [ebx + 0x1c], 1
and eax, 0xfffffffe
mov dword [esi + 0x2c], edi
add eax, ecx
movzx ecx, byte [ebx + 0x78]
and edx, 0xffffffbb
mov dword [ebx + 0x38], esi
mov dword [esi + 0x24], eax
and ecx, 0x44
mov dword [ebx + 0x34], eax
or edx, ecx
mov byte [esi + 0x78], dl
mov dword [esi + 0x14], ebp
cmp ebp, 0xf
ja 0x492040
cmp ebp, 7
ja 0x492078
mov edx, esi
jmp 0x491abc
mov eax, dword [esi + 0xc]
cmp dword [eax], 0x464c457f
jne 0x492078
mov dword [esi + 8], 3
mov dword [esi + 0x14], 0x10
movsx edx, byte [eax + 4]
mov dword [esi + 0x4c], edx
movsx edx, byte [eax + 5]
mov dword [esi + 0x50], edx
movsx eax, byte [eax + 6]
mov edx, esi
mov dword [esi + 0x54], eax
jmp 0x491abc
mov eax, esi
call sym.__elf_check_type.part.0
mov edx, esi
jmp 0x491abc
test ebp, ebp
jne 0x492108
mov dword [esi + 0x14], 0
mov edx, esi
jmp 0x491abc
mov eax, dword [ebx + 0xc]
add eax, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
jmp 0x492000
mov dword [0x57c744], 0xc
xor edx, edx
jmp 0x491abc
mov dword [esp + 0x34], 0xe
mov eax, 0xd
nop
cmp byte [esi], 0x2f
je 0x49222e
cmp byte [esi + eax], 0x2f
je 0x492350
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
lea edx, [eax + 0x2e]
jmp 0x491bd9
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sym.__elf_read
mov dword [esi + 0xc], eax
test eax, eax
jne 0x49202b
mov dword [esp], esi
call sym._free
xor edx, edx
jmp 0x491abc
mov edx, dword [esp + 0x20]
add eax, 1
sub edx, 1
cmp byte [eax], 0x20
jne 0x4921de
lea ecx, [eax + 1]
cmp edx, 1
je 0x492574
cmp byte [ecx], 0x20
jne 0x4921de
cmp edx, 2
je 0x492574
cmp byte [eax + 2], 0x20
jne 0x4921de
cmp edx, 3
je 0x492574
cmp byte [eax + 3], 0x20
jne 0x4921de
cmp edx, 4
je 0x492574
cmp byte [eax + 4], 0x20
jne 0x4921de
cmp edx, 5
je 0x492574
cmp byte [eax + 5], 0x20
jne 0x4921de
cmp edx, 6
je 0x492574
cmp byte [eax + 6], 0x20
jne 0x4921de
cmp edx, 7
je 0x492574
cmp byte [eax + 7], 0x20
jne 0x4921de
cmp edx, 8
je 0x492574
cmp byte [eax + 8], 0x20
jne 0x4921de
cmp edx, 9
je 0x492574
cmp byte [eax + 9], 0x20
je 0x492574
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym._free
xor edx, edx
mov dword [0x57c744], 0x26
jmp 0x491abc
mov dword [0x57c744], 0x23
xor edx, edx
jmp 0x491abc
mov dword [0x57c744], 0x24
xor edx, edx
jmp 0x491abc
mov dword [0x57c744], 0x25
xor edx, edx
jmp 0x491abc
movzx ecx, byte [esi + 1]
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x492360
mov ebp, dword [ebx + 0x44]
test ebp, ebp
je 0x4923ac
lea edx, [esi + 1]
test eax, eax
jne 0x492264
jmp 0x492310
add edx, 1
sub eax, 1
je 0x492310
cmp byte [edx], 0x20
je 0x492258
mov dword [esp + 0x18], esi
xor edi, edi
mov esi, ebx
jmp 0x49228b
lea ebx, [edi + edi*4]
add edx, 1
lea edi, [ecx + ebx*2 - 0x30]
sub eax, 1
je 0x492308
movsx ecx, byte [edx]
lea ebx, [ecx - 0x30]
cmp bl, 9
jbe 0x492278
mov ebx, esi
mov esi, dword [esp + 0x18]
jmp 0x4922a8
add edx, 1
sub eax, 1
je 0x492312
cmp byte [edx], 0x20
je 0x4922a0
mov dword [0x57c744], 0x2a
xor edx, edx
jmp 0x491abc
movzx eax, byte [esi + 1]
sub eax, 0x30
cmp al, 9
ja 0x4922ad
mov ebp, dword [ebx + 0x44]
test ebp, ebp
je 0x4923ac
lea edx, [esi + 1]
mov eax, 0xffffffff
jmp 0x492264
mov dword [0x57c744], 0x1e
xor edx, edx
jmp 0x491abc
mov dword [esp], edi
call sym._free
xor edx, edx
mov dword [0x57c744], 0x27
jmp 0x491abc
mov ebx, esi
mov esi, dword [esp + 0x18]
mov eax, edi
mov edi, eax
mov edx, dword [ebx + 0x48]
cmp edi, edx
jae 0x4923ac
mov eax, edi
jmp 0x49232f
add eax, 1
cmp eax, edx
jae 0x492336
cmp byte [ebp + eax], 0x2f
jne 0x492328
cmp edx, eax
je 0x4923ac
sub eax, edi
lea ecx, [ebp + edi]
mov dword [esp + 0x3c], ecx
lea edx, [eax + 0x2e]
mov dword [esp + 0x34], eax
jmp 0x491bd9
mov dword [esp + 0x3c], esi
lea edx, [eax + 0x2e]
mov dword [esp + 0x34], eax
jmp 0x491bd9
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov edx, 0x2f
cmp eax, 1
je 0x491bd9
cmp cl, 0x2f
jne 0x4922ad
cmp eax, 2
jne 0x4922ad
mov dword [esp + 0x34], 2
mov edx, 0x30
jmp 0x491bd9
mov dword [esp + 0x34], 0x10
mov eax, 0xf
jmp 0x4920e0
mov dword [0x57c744], 0x29
xor edx, edx
jmp 0x491abc
mov dword [esp + 0x34], 0xf
mov eax, 0xe
jmp 0x4920e0
mov dword [esp + 0x20], 0xa
lea eax, [esi + 0x30]
lea esi, [esi]
movzx edx, byte [eax]
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x493306
movsx ebp, dl
movsx edx, byte [eax + 1]
sub ebp, 0x30
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x49213e
lea ecx, [ebp + ebp*4]
lea ebp, [edx + ecx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 2
je 0x492574
movzx ecx, byte [eax + 2]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x492dae
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [ecx + edx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 3
je 0x492574
movzx ecx, byte [eax + 3]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x492db6
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [ecx + edx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 4
je 0x492574
movzx ecx, byte [eax + 4]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x492ffc
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [ecx + edx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 5
je 0x492574
movzx ecx, byte [eax + 5]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x49308e
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [ecx + edx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 6
je 0x492574
movzx ecx, byte [eax + 6]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x49315a
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [ecx + edx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 7
je 0x492574
movzx ecx, byte [eax + 7]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x4931b0
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [ecx + edx*2 - 0x30]
mov edx, dword [esp + 0x20]
sub edx, 8
je 0x492574
movzx ecx, byte [eax + 8]
lea edi, [ecx - 0x30]
mov byte [esp + 0x2c], cl
mov ecx, edi
cmp cl, 9
ja 0x49326b
movsx ecx, byte [esp + 0x2c]
lea edx, [ebp + ebp*4]
cmp dword [esp + 0x20], 9
lea ebp, [ecx + edx*2 - 0x30]
je 0x492574
movsx edx, byte [eax + 9]
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x493273
lea eax, [ebp + ebp*4]
lea ebp, [edx + eax*2 - 0x30]
mov eax, ebp
jmp 0x491ddb
mov dword [esp + 0x20], 0xc
lea edx, [esi + 0x10]
lea esi, [esi]
lea esi, [esi]
movsx eax, byte [edx]
lea edi, [eax - 0x30]
mov ecx, edi
cmp cl, 9
ja 0x4932bc
movzx edi, byte [edx + 1]
sub eax, 0x30
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492795
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 2
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 2]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492878
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 3
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 3]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492e7e
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 4
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 4]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x493058
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 5
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 5]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x493062
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 6
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 6]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x493130
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 7
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 7]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x4931a6
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 8
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 8]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x49324f
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 9
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 9]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x493283
mov ecx, edi
lea eax, [eax + eax*4]
movsx edi, cl
mov ecx, dword [esp + 0x20]
lea eax, [edi + eax*2 - 0x30]
sub ecx, 0xa
mov dword [esp + 0x1c], ecx
je 0x492786
movzx edi, byte [edx + 0xa]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x4932a1
mov ecx, edi
lea eax, [eax + eax*4]
cmp dword [esp + 0x20], 0xb
movsx edi, cl
lea eax, [edi + eax*2 - 0x30]
je 0x492786
movzx ebp, byte [edx + 0xb]
lea edi, [ebp - 0x30]
mov ecx, edi
cmp cl, 9
ja 0x49328d
mov ecx, ebp
lea eax, [eax + eax*4]
movsx ecx, cl
lea eax, [ecx + eax*2 - 0x30]
mov dword [esp + 0x1c], 0
mov ecx, eax
jmp 0x491c7f
mov edi, dword [esp + 0x20]
add edx, 1
mov ecx, eax
sub edi, 1
mov dword [esp + 0x1c], edi
lea esi, [esi]
cmp byte [edx], 0x20
jne 0x491c7f
mov edi, dword [esp + 0x1c]
lea eax, [edx + 1]
sub edi, 1
je 0x492862
cmp byte [eax], 0x20
jne 0x492ece
mov edi, dword [esp + 0x1c]
mov eax, edi
sub eax, 2
je 0x492862
cmp byte [edx + 2], 0x20
jne 0x49286f
mov eax, edi
sub eax, 3
je 0x492862
cmp byte [edx + 3], 0x20
jne 0x49286f
mov eax, edi
sub eax, 4
je 0x492862
cmp byte [edx + 4], 0x20
jne 0x49286f
mov eax, edi
sub eax, 5
je 0x492862
cmp byte [edx + 5], 0x20
jne 0x49286f
mov eax, edi
sub eax, 6
je 0x492862
cmp byte [edx + 6], 0x20
jne 0x49286f
mov eax, edi
sub eax, 7
je 0x492862
cmp byte [edx + 7], 0x20
jne 0x49286f
mov eax, edi
sub eax, 8
je 0x492862
cmp byte [edx + 8], 0x20
jne 0x49286f
mov eax, edi
sub eax, 9
je 0x492862
cmp byte [edx + 9], 0x20
jne 0x49286f
mov eax, edi
sub eax, 0xa
je 0x492862
cmp byte [edx + 0xa], 0x20
jne 0x49286f
cmp edi, 0xb
je 0x492862
xor eax, eax
cmp byte [edx + 0xb], 0x20
setne al
mov dword [esp + 0x1c], eax
jmp 0x491c7f
mov dword [esp + 0x1c], 0
jmp 0x491c7f
mov dword [esp + 0x1c], eax
jmp 0x491c7f
add edx, 2
mov ecx, eax
jmp 0x4927a8
mov dword [esp + 0x34], 0xd
mov eax, 0xc
jmp 0x4920e0
mov dword [esp + 0x2c], 6
lea edx, [esi + 0x1c]
movsx ecx, byte [edx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x4932d6
movsx eax, byte [edx + 1]
lea ebp, [ecx - 0x30]
lea edi, [eax - 0x30]
mov ecx, edi
cmp cl, 9
ja 0x492990
lea ecx, [ebp + ebp*4]
lea eax, [eax + ecx*2 - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, 2
je 0x492987
movzx edi, byte [edx + 2]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492a12
mov eax, dword [esp + 0x20]
mov ecx, edi
movsx edi, cl
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, 3
je 0x492987
movzx edi, byte [edx + 3]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492e32
mov eax, dword [esp + 0x20]
mov ecx, edi
movsx edi, cl
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, 4
je 0x492987
movzx edi, byte [edx + 4]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492f78
mov eax, dword [esp + 0x20]
mov ecx, edi
cmp dword [esp + 0x2c], 5
movsx edi, cl
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
mov dword [esp + 0x20], eax
je 0x492987
movsx eax, byte [edx + 5]
lea edi, [eax - 0x30]
mov ecx, edi
cmp cl, 9
ja 0x4930c0
mov edi, dword [esp + 0x20]
lea edx, [edi + edi*4]
lea eax, [eax + edx*2 - 0x30]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x20]
jmp 0x491cc4
mov eax, dword [esp + 0x2c]
add edx, 1
sub eax, 1
cmp byte [edx], 0x20
jne 0x492a00
mov edi, eax
lea ecx, [edx + 1]
sub edi, 1
je 0x491cc4
cmp byte [ecx], 0x20
jne 0x492ee7
mov ecx, eax
sub ecx, 2
je 0x491cc4
cmp byte [edx + 2], 0x20
jne 0x492a09
mov ecx, eax
sub ecx, 3
je 0x491cc4
cmp byte [edx + 3], 0x20
jne 0x492a09
mov ecx, eax
sub ecx, 4
je 0x491cc4
cmp byte [edx + 4], 0x20
jne 0x492a09
cmp eax, 5
je 0x491cc4
cmp byte [edx + 5], 0x20
mov eax, 1
cmove eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x491cc4
mov dword [esp + 0x1c], ecx
jmp 0x491cc4
mov ebp, dword [esp + 0x20]
add edx, 2
jmp 0x49299a
mov dword [esp + 0x2c], 8
lea ecx, [esi + 0x28]
movsx eax, byte [ecx]
lea edx, [eax - 0x30]
cmp dl, 7
ja 0x493362
movsx edx, byte [ecx + 1]
sub eax, 0x30
mov dword [esp + 0x20], eax
lea edi, [edx - 0x30]
mov eax, edi
cmp al, 7
ja 0x492b74
mov eax, dword [esp + 0x20]
lea eax, [edx + eax*8 - 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
sub edx, 2
je 0x491d68
movzx edi, byte [ecx + 2]
lea ebp, [edi - 0x30]
mov eax, ebp
cmp al, 7
ja 0x492da6
mov eax, edi
mov edx, dword [esp + 0x2c]
movsx edi, al
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*8 - 0x30]
mov dword [esp + 0x20], eax
sub edx, 3
je 0x491d68
movzx edi, byte [ecx + 3]
lea ebp, [edi - 0x30]
mov eax, ebp
cmp al, 7
ja 0x492dea
mov eax, edi
mov edx, dword [esp + 0x2c]
movsx edi, al
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*8 - 0x30]
mov dword [esp + 0x20], eax
sub edx, 4
je 0x491d68
movzx edi, byte [ecx + 4]
lea ebp, [edi - 0x30]
mov eax, ebp
cmp al, 7
ja 0x492f70
mov eax, edi
mov edx, dword [esp + 0x2c]
movsx edi, al
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*8 - 0x30]
mov dword [esp + 0x20], eax
sub edx, 5
je 0x491d68
movzx edi, byte [ecx + 5]
lea ebp, [edi - 0x30]
mov eax, ebp
cmp al, 7
ja 0x4930d8
mov eax, edi
mov edx, dword [esp + 0x2c]
movsx edi, al
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*8 - 0x30]
mov dword [esp + 0x20], eax
sub edx, 6
je 0x491d68
movzx edi, byte [ecx + 6]
lea ebp, [edi - 0x30]
mov eax, ebp
cmp al, 7
ja 0x493128
mov eax, edi
cmp dword [esp + 0x2c], 7
movsx edi, al
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*8 - 0x30]
mov dword [esp + 0x20], eax
je 0x491d68
movsx edx, byte [ecx + 7]
lea edi, [edx - 0x30]
mov eax, edi
cmp al, 7
ja 0x4931f6
mov eax, dword [esp + 0x20]
lea eax, [edx + eax*8 - 0x30]
mov dword [esp + 0x20], eax
jmp 0x491d68
mov edx, dword [esp + 0x2c]
add ecx, 1
sub edx, 1
cmp byte [ecx], 0x20
jne 0x492c0a
mov ebp, edx
lea edi, [ecx + 1]
sub ebp, 1
je 0x491d68
cmp byte [edi], 0x20
jne 0x492ef9
mov edi, edx
sub edi, 2
je 0x491d68
cmp byte [ecx + 2], 0x20
jne 0x492c13
mov edi, edx
sub edi, 3
je 0x491d68
cmp byte [ecx + 3], 0x20
jne 0x492c13
mov edi, edx
sub edi, 4
je 0x491d68
cmp byte [ecx + 4], 0x20
jne 0x492c13
mov edi, edx
sub edi, 5
je 0x491d68
cmp byte [ecx + 5], 0x20
jne 0x492c13
mov edi, edx
sub edi, 6
je 0x491d68
cmp byte [ecx + 6], 0x20
jne 0x492c13
cmp edx, 7
je 0x491d68
cmp byte [ecx + 7], 0x20
mov edx, 1
cmove edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
jmp 0x491d68
mov dword [esp + 0x1c], edi
jmp 0x491d68
mov dword [esp + 0x2c], 6
lea edx, [esi + 0x22]
movsx ecx, byte [edx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x49332e
movsx eax, byte [edx + 1]
lea ebp, [ecx - 0x30]
lea edi, [eax - 0x30]
mov ecx, edi
cmp cl, 9
ja 0x492d18
lea ecx, [ebp + ebp*4]
lea eax, [eax + ecx*2 - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, 2
je 0x492d0f
movzx edi, byte [edx + 2]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492d9a
mov eax, dword [esp + 0x20]
mov ecx, edi
movsx edi, cl
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, 3
je 0x492d0f
movzx edi, byte [edx + 3]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492dde
mov eax, dword [esp + 0x20]
mov ecx, edi
movsx edi, cl
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, 4
je 0x492d0f
movzx edi, byte [edx + 4]
lea ebp, [edi - 0x30]
mov ecx, ebp
cmp cl, 9
ja 0x492ff0
mov eax, dword [esp + 0x20]
mov ecx, edi
cmp dword [esp + 0x2c], 5
movsx edi, cl
lea eax, [eax + eax*4]
lea eax, [edi + eax*2 - 0x30]
mov dword [esp + 0x20], eax
je 0x492d0f
movsx eax, byte [edx + 5]
lea edi, [eax - 0x30]
mov ecx, edi
cmp cl, 9
ja 0x4930a6
mov edi, dword [esp + 0x20]
lea edx, [edi + edi*4]
lea eax, [eax + edx*2 - 0x30]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x20]
jmp 0x491d09
mov eax, dword [esp + 0x2c]
add edx, 1
sub eax, 1
cmp byte [edx], 0x20
jne 0x492d88
mov edi, eax
lea ecx, [edx + 1]
sub edi, 1
je 0x491d09
cmp byte [ecx], 0x20
jne 0x492ef0
mov ecx, eax
sub ecx, 2
je 0x491d09
cmp byte [edx + 2], 0x20
jne 0x492d91
mov ecx, eax
sub ecx, 3
je 0x491d09
cmp byte [edx + 3], 0x20
jne 0x492d91
mov ecx, eax
sub ecx, 4
je 0x491d09
cmp byte [edx + 4], 0x20
jne 0x492d91
cmp eax, 5
je 0x491d09
cmp byte [edx + 5], 0x20
mov eax, 1
cmove eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x491d09
mov dword [esp + 0x1c], ecx
jmp 0x491d09
mov ebp, dword [esp + 0x20]
add edx, 2
jmp 0x492d22
add ecx, 2
jmp 0x492b7e
add eax, 2
jmp 0x492148
add eax, 3
jmp 0x492148
mov dword [esp + 0x2c], 4
lea edx, [esi + 0x24]
jmp 0x492c27
mov dword [esp + 0x2c], 5
lea edx, [esi + 0x23]
jmp 0x492c27
mov ebp, dword [esp + 0x20]
add edx, 3
jmp 0x492d22
add ecx, 3
jmp 0x492b7e
mov dword [esp + 0x2c], 6
lea ecx, [esi + 0x2a]
jmp 0x492a29
mov dword [esp + 0x2c], 7
lea ecx, [esi + 0x29]
jmp 0x492a29
mov dword [esp + 0x20], 8
lea eax, [esi + 0x32]
jmp 0x4923e0
mov dword [esp + 0x20], 9
lea eax, [esi + 0x31]
jmp 0x4923e0
mov ebp, dword [esp + 0x20]
add edx, 3
jmp 0x49299a
mov dword [esp + 0x2c], 4
lea edx, [esi + 0x1e]
jmp 0x49289f
mov dword [esp + 0x2c], 5
lea edx, [esi + 0x1d]
jmp 0x49289f
mov dword [esp + 0x20], 0xa
lea edx, [esi + 0x12]
jmp 0x492590
mov dword [esp + 0x20], 0xb
lea edx, [esi + 0x11]
jmp 0x492590
add edx, 3
mov ecx, eax
jmp 0x4927a8
mov dword [esp + 0x34], 0xc
mov eax, 0xb
jmp 0x4920e0
mov dword [esp + 0x34], 0xb
mov eax, 0xa
jmp 0x4920e0
mov dword [esp + 0x34], 0xa
mov eax, 9
jmp 0x4920e0
mov dword [esp + 0x20], 9
lea edx, [esi + 0x13]
jmp 0x492590
mov dword [esp + 0x1c], edi
jmp 0x491c7f
mov dword [esp + 0x2c], 3
lea edx, [esi + 0x1f]
jmp 0x49289f
mov dword [esp + 0x1c], edi
jmp 0x491cc4
mov dword [esp + 0x1c], edi
jmp 0x491d09
mov dword [esp + 0x1c], ebp
jmp 0x491d68
mov dword [esp + 0x2c], 3
lea edx, [esi + 0x25]
jmp 0x492c27
mov dword [esp + 0x2c], 5
lea ecx, [esi + 0x2b]
jmp 0x492a29
mov dword [esp + 0x20], 7
lea eax, [esi + 0x33]
jmp 0x4923e0
mov dword [esp + 0x20], 6
lea eax, [esi + 0x34]
jmp 0x4923e0
movsx ecx, byte [esi + 0x21]
lea edi, [ecx - 0x30]
lea eax, [ecx - 0x30]
mov dword [esp + 0x20], edi
cmp al, 9
jbe 0x492987
cmp byte [esi + 0x21], 0x20
je 0x491cc4
mov eax, 1
jmp 0x492a00
add ecx, 4
jmp 0x492b7e
mov ebp, dword [esp + 0x20]
add edx, 4
jmp 0x49299a
movsx ecx, byte [esi + 0x27]
lea edi, [ecx - 0x30]
lea eax, [ecx - 0x30]
mov dword [esp + 0x20], edi
cmp al, 9
jbe 0x492d0f
cmp byte [esi + 0x27], 0x20
je 0x491d09
mov eax, 1
jmp 0x492d88
mov dword [esp + 0x2c], 3
lea ecx, [esi + 0x2d]
jmp 0x492a29
mov dword [esp + 0x2c], 2
lea edx, [esi + 0x26]
jmp 0x492c27
mov dword [esp + 0x2c], 4
lea ecx, [esi + 0x2c]
jmp 0x492a29
mov dword [esp + 0x20], 5
lea eax, [esi + 0x35]
jmp 0x4923e0
mov ebp, dword [esp + 0x20]
add edx, 4
jmp 0x492d22
add eax, 4
jmp 0x492148
mov dword [esp + 0x2c], 2
lea edx, [esi + 0x20]
jmp 0x49289f
mov dword [esp + 0x34], 8
mov eax, 7
jmp 0x4920e0
mov dword [esp + 0x34], 9
mov eax, 8
jmp 0x4920e0
mov dword [esp + 0x20], 7
lea edx, [esi + 0x15]
jmp 0x492590
mov dword [esp + 0x20], 8
lea edx, [esi + 0x14]
jmp 0x492590
add edx, 4
mov ecx, eax
jmp 0x4927a8
add edx, 5
mov ecx, eax
jmp 0x4927a8
mov dword [esp + 0x20], 6
lea edx, [esi + 0x16]
jmp 0x492590
mov dword [esp + 0x34], 7
mov eax, 6
jmp 0x4920e0
add eax, 5
jmp 0x492148
mov dword [esp + 0x20], 4
lea eax, [esi + 0x36]
jmp 0x4923e0
mov ebp, dword [esp + 0x20]
cmp al, 0x20
je 0x491d09
jmp 0x492fa4
mov ebp, dword [esp + 0x20]
cmp al, 0x20
je 0x491cc4
jmp 0x492f62
add ecx, 5
jmp 0x492b7e
mov dword [esp + 0x2c], 2
lea ecx, [esi + 0x2e]
jmp 0x492a29
movsx eax, byte [esi + 0x2f]
lea edx, [eax - 0x30]
sub eax, 0x30
mov dword [esp + 0x20], eax
cmp dl, 7
jbe 0x491d68
xor eax, eax
cmp byte [esi + 0x2f], 0x20
mov dword [esp + 0x20], eax
je 0x491d68
mov edx, 1
jmp 0x492c0a
add ecx, 6
jmp 0x492b7e
add edx, 6
mov ecx, eax
jmp 0x4927a8
mov dword [esp + 0x20], 2
lea eax, [esi + 0x38]
jmp 0x4923e0
mov dword [esp + 0x20], 3
lea eax, [esi + 0x37]
jmp 0x4923e0
add eax, 6
jmp 0x492148
mov dword [esp + 0x34], 6
mov eax, 5
jmp 0x4920e0
mov dword [esp + 0x20], 4
lea edx, [esi + 0x18]
jmp 0x492590
mov dword [esp + 0x20], 5
lea edx, [esi + 0x17]
jmp 0x492590
mov dword [esp + 0x34], 5
mov eax, 4
jmp 0x4920e0
add edx, 7
mov ecx, eax
jmp 0x4927a8
add eax, 7
jmp 0x492148
mov dword [esp + 0x34], 4
mov eax, 3
jmp 0x4920e0
mov dword [esp + 0x34], 3
mov eax, 2
jmp 0x4920e0
movsx eax, byte [esi + 0x39]
lea edx, [eax - 0x30]
cmp dl, 9
ja 0x493344
lea ebp, [eax - 0x30]
mov eax, ebp
jmp 0x491ddb
cmp dl, 0x20
je 0x491d68
jmp 0x493117
mov dword [esp + 0x20], 2
lea edx, [esi + 0x1a]
jmp 0x492590
mov dword [esp + 0x20], 3
lea edx, [esi + 0x19]
jmp 0x492590
movsx eax, byte [esi + 0x1b]
lea edx, [eax - 0x30]
cmp dl, 9
ja 0x49337c
sub eax, 0x30
jmp 0x492786
mov dword [esp + 0x34], 1
xor eax, eax
jmp 0x4920e0
add edx, 8
mov ecx, eax
jmp 0x4927a8
mov dword [esp + 0x34], 2
mov eax, 1
jmp 0x4920e0
add eax, 8
jmp 0x492148
cmp dl, 0x20
jne 0x4921de
mov eax, ebp
jmp 0x491ddb
add edx, 9
mov ecx, eax
jmp 0x4927a8
mov ecx, eax
xor eax, eax
cmp byte [edx + 0xb], 0x20
setne al
mov dword [esp + 0x1c], eax
jmp 0x491c7f
add edx, 0xa
mov ecx, eax
jmp 0x4927a8
mov dword [0x57c744], 0x3b
xor edx, edx
jmp 0x491abc
cmp byte [edx], 0x20
jne 0x4932ec
mov ecx, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esp + 0x1c], ecx
lea edi, [ecx - 1]
xor ecx, ecx
jmp 0x4927c1
cmp byte [edx], 0x20
jne 0x4932fb
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 1]
xor ebp, ebp
lea edi, [eax - 1]
jmp 0x4929ad
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x1c], eax
jmp 0x491c7f
mov eax, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x492a00
cmp byte [eax], 0x20
jne 0x4921de
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
xor ebp, ebp
jmp 0x49215d
mov dword [0x57c744], 0x3d
xor edx, edx
jmp 0x491abc
cmp byte [edx], 0x20
jne 0x493357
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 1]
xor ebp, ebp
lea edi, [eax - 1]
jmp 0x492d35
xor ebp, ebp
cmp byte [esi + 0x39], 0x20
jne 0x4921de
mov eax, ebp
jmp 0x491ddb
mov eax, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x492d88
cmp byte [ecx], 0x20
jne 0x49338e
mov edx, dword [esp + 0x2c]
xor eax, eax
lea edi, [ecx + 1]
mov dword [esp + 0x20], eax
lea ebp, [edx - 1]
jmp 0x492b95
xor eax, eax
cmp byte [esi + 0x1b], 0x20
setne al
mov dword [esp + 0x1c], eax
jmp 0x491c7f
xor edi, edi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
jmp 0x492c0a