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

Disassembly:
sub esp, 0xb8
mov eax, dword [0x9726c0]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
push ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xcc]
push ebp
push esi
push edi
mov eax, dword [eax + 0x18]
mov ebp, 1
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x70], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebp
test eax, 0x400
je 0x493955
mov ebx, eax
mov ebp, 2
shr ebx, 0xb
mov edx, 0x496f40
not ebx
mov dword [esp + 0x58], ebp
and ebx, 1
jmp 0x49398b
test eax, 0x1000
je 0x493976
mov ebx, eax
mov ebp, 2
shr ebx, 0xd
mov edx, 0x496fc0
not ebx
mov dword [esp + 0x58], ebp
and ebx, 1
jmp 0x49398b
test eax, 0x100
je 0x4939c7
mov ebx, eax
mov edx, fcn.00497040
shr ebx, 9
not ebx
and ebx, ebp
mov dword [esp + 0x1c], edx
mov esi, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
test eax, 0x800
jne 0x4939f3
mov dword [esp + 0x64], ebx
mov ebx, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
test eax, 0x2000
je 0x493a51
jmp 0x493a2a
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
test eax, 0x800
je 0x493a0e
mov ebp, 2
mov dword [esp + 0x1c], 0x496f40
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov edx, 1
mov dword [esp + 0x4c], 0x4971f0
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], 4
jmp 0x493a67
test eax, 0x2000
je 0x493a45
mov ebp, 2
mov dword [esp + 0x1c], 0x496fc0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov edx, 1
mov dword [esp + 0x4c], 0x497210
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], 4
jmp 0x493a67
mov dword [esp + 0x1c], fcn.00497040
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x4c], fcn.00495f90
mov edx, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x6c], 6
imul ecx, edx
add ecx, dword [edi + 4]
add ecx, ebp
push ecx
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
push dword [esp + 0x10]
mov ebx, dword [edi + 8]
lea eax, [esp + 0x1c]
mov esi, dword [edi + 4]
sub ebx, ebp
push dword [esp + 0x24]
add esi, dword [edi]
add ebx, dword [edi]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], ebx
call dword [esp + 0x58]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x30], ecx
test ecx, ecx
je case.default.0x49487f
jns 0x493b51
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x493b26
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
nop
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x493ae0
mov ecx, dword [esp + 0x20]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x30]
add edx, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x494814
cmp ecx, dword [esp + 0x6c]
je 0x493b68
cmp dword [esp + 0x60], 0
jne 0x493b68
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
jmp 0x493b72
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
add edx, ecx
sub eax, ecx
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push edx
push eax
call dword [esp + 0x58]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jle 0x494684
nop
cmp edx, dword [esp + 0x6c]
je 0x493bb7
cmp dword [esp + 0x64], 0
jne 0x493bb7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
jmp 0x493bc3
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], 0
sub dword [esp + 0x10], edx
add eax, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, edx
shr eax, 8
mov dword [esp + 0x40], eax
cmp eax, 0x1d2
ja 0x493fb0
cmp byte [eax + 0x8a9488], 0
je 0x493fb0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x1100]
cmp ecx, 0x12
ja 0x493d2b
add edx, 0xffffee9f
cmp edx, 0x14
ja 0x493c36
imul ecx, ecx, 0x15
mov dword [esp + 0x24], 0
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax*4 + 0xac00]
mov dword [esp + 0x18], eax
jmp 0x494096
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x493cb6
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x493c85
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, ebp
add eax, dword [edi + 8]
push eax
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x494009
jmp dword [eax*4 + 0x49493c]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp 0x49407a
push eax
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x494078
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
nop dword [eax]
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x493ce0
jmp 0x494078
lea ecx, [eax - 0xac00]
mov dword [esp + 0x14], ecx
cmp ecx, 0x2ba3
ja 0x493e6f
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x14]
shl eax, 2
sub ecx, eax
jne 0x493e6b
mov ecx, dword [esp + 0x44]
add ecx, 0xffffee59
lea eax, [ecx - 1]
cmp eax, 0x1a
ja 0x493d90
add dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
jmp 0x494096
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x493df4
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x493ddf
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, ebp
add eax, dword [edi + 8]
push eax
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x494009
jmp dword [eax*4 + 0x49494c]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x494078
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
nop word [eax + eax]
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x493e20
jmp 0x494078
mov eax, dword [esp + 0x18]
push dword [esp + 0x44]
push eax
call fcn.004964b0
add esp, 8
test eax, eax
je 0x493e91
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
jmp 0x494096
mov edx, dword [esp + 0x44]
cmp edx, 0x1d244
ja 0x493ed3
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 0x8aa000]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
and edx, 0xf
movzx eax, byte [eax + ecx*8 + 0x8a9d90]
add eax, eax
movzx ecx, byte [edx + eax*8 + 0x8a9660]
mov dword [esp + 0x48], ecx
test ecx, ecx
jne 0x4940bd
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x493f37
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x493f22
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, ebp
add eax, dword [edi + 8]
push eax
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x494009
jmp dword [eax*4 + 0x49495c]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x494078
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
nop dword [eax]
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x493f60
jmp 0x494078
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x494010
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x493fff
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, ebp
add eax, dword [edi + 8]
push eax
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x494009
jmp dword [eax*4 + 0x49496c]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x494078
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x494032
add esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
push dword [esp + 0x10]
lea eax, [esp + 0x48]
push dword [esp + 0x24]
push eax
call dword [esp + 0x58]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jg 0x493ba0
jmp 0x494684
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x2c], eax
shl eax, 2
lea ecx, [esp + 0x74]
push edx
push dword [esp + 0x24]
mov dword [esp + 0x48], eax
add eax, ecx
push eax
call dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x68], eax
test eax, eax
jle 0x4941bf
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x74]
mov edx, dword [eax + edx]
cmp edx, 0x1d244
jbe 0x49411e
xor ecx, ecx
jmp 0x494149
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x8aa000]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x8a9d90]
add eax, eax
and edx, 0xf
movzx ecx, byte [edx + eax*8 + 0x8a9660]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
cmp eax, ecx
jb 0x494164
cmp eax, 0xe4
je 0x494164
cmp ecx, 0xe4
jne 0x494198
mov eax, dword [esp + 0x68]
add dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + eax + 0x9c], ecx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, 0xa
jge 0x4941a5
jmp 0x4940e1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
cmp eax, 0xa
jl 0x4941c7
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x40], 1
jmp 0x4941fc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 1
mov dword [esp + 0x10], edx
cmp eax, 1
jle 0x4943c0
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
nop dword [eax]
lea eax, [ebx*4]
push dword [esp + eax + 0x74]
mov dword [esp + 0x44], eax
push dword [esp + 0x1c]
call fcn.004964b0
mov ecx, eax
add esp, 8
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x494240
mov ebx, eax
jmp 0x4943a4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
cmp edi, ecx
jge 0x49427e
mov edx, dword [esp + 0x40]
nop dword [eax]
mov eax, dword [esp + edx + 0x78]
lea edx, [edx + 4]
mov dword [esp + edx + 0x70], eax
inc edi
mov eax, dword [esp + edx + 0x9c]
mov dword [esp + edx + 0x98], eax
cmp edi, ecx
jl 0x494260
dec ecx
mov dword [esp + 0x2c], ecx
test ecx, ecx
jle 0x49439e
cmp ebx, ecx
jne 0x49439e
cmp dword [esp + 0x68], 0
jle 0x49439e
cmp ebp, esi
jne 0x49439e
mov ebx, dword [esp + ecx*4 + 0x98]
mov dword [esp + 0x48], ebx
cmp ecx, 0xa
jge 0x49436e
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea ebp, [ecx*4]
push esi
lea edi, [esp + 0x78]
push edx
add edi, ebp
push edi
call dword [esp + 0x58]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x68], ecx
test ecx, ecx
jle 0x494385
mov edx, dword [edi]
cmp edx, 0x1d244
jbe 0x4942f5
xor eax, eax
jmp 0x494324
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x8aa000]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x8a9d90]
mov ecx, dword [esp + 0x68]
add eax, eax
and edx, 0xf
movzx eax, byte [edx + eax*8 + 0x8a9660]
mov dword [esp + 0x38], eax
cmp ebx, eax
jl 0x49433b
cmp ebx, 0xe4
je 0x49433b
cmp eax, 0xe4
jne 0x494385
mov edx, dword [esp + 0x20]
sub esi, ecx
add edx, ecx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x2c]
mov ebx, eax
inc ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ebx
mov dword [esp + ebp + 0x9c], eax
mov dword [esp + 0x2c], ecx
cmp ecx, 0xa
jl 0x4942c2
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edi, 0xa
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x2c], edi
jmp 0x4943a2
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xa
jge 0x49436a
mov ebp, dword [esp + 0x38]
mov edi, ecx
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
jmp 0x4943a2
mov edi, dword [esp + 0x2c]
xor ebx, ebx
cmp ebx, edi
jl 0x494210
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x494440
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x49440b
imul edx, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add edx, ebp
add edx, dword [edi + 8]
push edx
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x494415
jmp dword [eax*4 + 0x49497c]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x4944ae
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4944a8
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x494462
add esi, eax
mov dword [esp + 0x28], esi
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
jle 0x49455c
lea eax, [esp + 0x74]
mov dword [esp + 0x40], eax
nop dword [eax]
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x494538
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x40]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x4944f0
mov ecx, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x40]
inc ecx
add eax, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], eax
cmp ecx, dword [esp + 0x2c]
jl 0x4944d0
cmp dword [esp + 0x68], 0
mov edx, dword [esp + 0x10]
jle 0x494688
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x38], eax
jne 0x494688
test edx, edx
je 0x494688
push edx
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [esp + 0x58]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x494684
mov edx, dword [esp + 0x74]
cmp edx, 0x1d244
jbe 0x4945b0
xor eax, eax
jmp 0x4945e1
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x8aa000]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx ecx, byte [eax + ecx*8 + 0x8a9d90]
mov eax, edx
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x8a9660]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x48], eax
jg 0x494684
add dword [esp + 0x20], ecx
sub dword [esp + 0x10], ecx
mov dword [esp + 0x48], eax
mov eax, ebx
push edx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x49465c
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x74]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x494616
push dword [esp + 0x10]
add esi, eax
lea eax, [esp + 0x78]
push dword [esp + 0x24]
mov dword [esp + 0x30], esi
push eax
call dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x20], eax
add esp, 0xc
test ecx, ecx
jg 0x4945a0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x49480e
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x494710
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x4946db
imul edx, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add edx, ebp
add edx, dword [edi + 8]
push edx
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x4946e9
jmp dword [eax*4 + 0x49498c]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp case.default.0x4946e9
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x494778
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x494732
add esi, eax
push dword [esp + 0x44]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4947e6
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
nop dword [eax]
sub esi, dword [edi]
lea eax, [ecx + ebp]
add eax, dword [edi + 8]
push eax
push edi
mov dword [edi + 4], esi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x44]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x40], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4947a0
mov ecx, dword [esp + 0x20]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x50]
add edx, dword [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x494814
je 0x494835
mov ecx, dword [esp + 0x20]
push edx
push ecx
lea eax, [esp + 0x20]
push eax
call dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x3c], eax
add esp, 0xc
test ecx, ecx
jne 0x493ab7
jmp case.default.0x49487f
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4948a0
mov eax, dword [esp + 0x30]
add eax, esi
cmp eax, ebx
jbe 0x494871
imul edx, dword [esp + 0x34]
sub esi, dword [edi]
mov dword [edi + 4], esi
add edx, dword [edi + 8]
add edx, ebp
push edx
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov esi, dword [edi + 4]
add esi, dword [edi]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
dec eax
cmp eax, 3
ja case.default.0x49487f
jmp dword [eax*4 + 0x49499c]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp case.default.0x49487f
push dword [esp + 0x18]
sub ebx, esi
push ebx
mov ebx, dword [esp + 0x24]
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4948fd
mov ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.00493820
add esp, 8
test eax, eax
je 0x494920
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
sub ecx, ebp
add esi, dword [edi]
add ecx, dword [edi]
push dword [esp + 0x18]
sub ecx, esi
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x4948c2
add esi, eax
mov eax, esi
sub eax, dword [edi]
cmp dword [esp + 0x5c], 2
mov dword [edi + 4], eax
mov byte [esi], 0
jne 0x49491a
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov byte [edx + ecx + 1], 0
mov eax, dword [esp + 0x54]
jmp 0x494923
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0086aede
add esp, 0xb8
ret