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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
or ebp, 0xffffffff
push edi
mov al, byte [esi + 0x178]
test al, al
jne 0x421755
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x2b8], ebp
je 0x421755
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
lea edi, [esi + 0x180]
call dword [edx + 0x48]
mov ecx, eax
mov edx, edi
call fcn.00708c10
mov ecx, dword [esi + 0xb0]
mov al, byte [ecx + 0x310]
test al, al
je 0x421773
mov ecx, esi
call fcn.00423120
mov ecx, esi
call fcn.005cad30
mov edx, dword [esi + 0xb0]
mov al, byte [edx + 0x32e]
test al, al
je 0x4217b2
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
push eax
mov ecx, 0x81a800
call fcn.00545340
mov ecx, dword [esi + 0x160]
mov edx, eax
call fcn.004388e0
test al, al
sete dl
mov byte [esi + 0x17d], dl
mov ecx, dword [0x821b68]
mov eax, dword [esi + 0xb0]
cmp eax, dword [ecx + 0xb4]
jne 0x4217df
mov al, byte [0xa28753]
test al, al
jne 0x4217d8
mov byte [esi + 0x17d], 1
jmp 0x4217df
mov byte [esi + 0x17d], 0
mov edx, dword [esi + 0xb0]
mov al, byte [edx + 0x315]
test al, al
je 0x421818
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a4]
test eax, eax
je 0x421811
mov ecx, eax
call fcn.00479e30
test eax, eax
je 0x421811
mov byte [esi + 0x17d], 0
jmp 0x421818
mov byte [esi + 0x17d], 1
mov al, byte [esi + 0x103]
test al, al
je 0x421839
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x98]
cmp ecx, eax
jne 0x421839
mov byte [esi + 0x103], 0
mov al, byte [esi + 0x174]
test al, al
je 0x421ea8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1d0]
cmp eax, 2
je 0x42185f
cmp eax, 1
jne 0x421ea8
lea edi, [esi + 0x88]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
mov edx, dword [eax + 4]
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
call fcn.00545340
mov ebx, dword [eax + 0xec]
mov edx, edi
cmp ebx, 2
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ebp, dword [edx + 8]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov ecx, dword [edx + 4]
push eax
mov dword [esp + 0x44], ecx
mov ecx, 0x81a800
mov edx, dword [edx + 8]
sete bl
mov dword [esp + 0x48], edx
call fcn.00556f20
add eax, dword [0x834a18]
cmp ebp, eax
setge al
test bl, bl
mov byte [esp + 0x13], al
je 0x4219f6
test al, al
jne 0x4219f6
mov ecx, dword [esi + 0xb0]
push 0x1a8
mov al, byte [ecx + 0x312]
test al, al
je 0x421959
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x421b08
mov edx, dword [edi]
mov ebp, dword [edi + 4]
mov edi, dword [edi + 8]
push 0
mov dword [esp + 0x40], edx
push 0x600
push 1
lea edx, [esp + 0x48]
push 0
push edx
mov edx, dword [0x821b68]
add edi, 3
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edi
mov ecx, dword [edx + 0xa90]
mov edx, dword [edx + 0xa84]
mov ecx, dword [edx + ecx*4 - 4]
push ecx
mov ecx, eax
call fcn.00420110
jmp 0x421b08
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x42199f
mov edx, edi
push 0
push 0x600
push 1
mov ecx, dword [edx]
push 0
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov edx, dword [edx + 8]
push ecx
mov dword [esp + 0x58], edx
mov edx, dword [0x821b68]
mov ecx, dword [edx + 0x9c]
push ecx
mov ecx, eax
call fcn.00420110
push 0x1a8
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x421b08
mov edx, dword [edi]
mov ebp, dword [edi + 4]
mov edi, dword [edi + 8]
mov ecx, dword [0x821b68]
push 0
mov dword [esp + 0x40], edx
push 0x600
add edi, 3
push 1
lea edx, [esp + 0x48]
push 0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edi
push edx
mov edx, dword [ecx + 0xa84]
mov ecx, dword [edx]
push ecx
mov ecx, eax
call fcn.00420110
jmp 0x421b08
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x2c4]
test eax, eax
je 0x421b08
lea eax, [esi + 0x120]
push 0x1a8
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
call fcn.0076d5a7
mov edi, eax
add esp, 4
test edi, edi
je 0x421a82
fld dword [esp + 0x28]
call fcn.0076a6b0
fld dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
call fcn.0076a6b0
fld dword [esp + 0x30]
mov dword [esp + 0x40], eax
call fcn.0076a6b0
mov edx, dword [esi + 0xb0]
push 0xffffffffffffffe2
push 0x2600
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x2c4]
push 1
lea ecx, [esp + 0x48]
push 0
push ecx
push eax
mov ecx, edi
call fcn.00420110
mov eax, dword [esi + 0xb0]
push 1
lea edi, [esi + 0x108]
mov ecx, dword [eax + 0x2f0]
fld qword [eax + 0x270]
push ecx
push 0
call fcn.0076a6b0
lea edx, [esp + 0x48]
mov ecx, edi
push edx
mov ebp, eax
call fcn.00436e00
mov ecx, eax
mov edx, ebp
call fcn.0047dec0
mov eax, dword [esi + 0xb0]
push 0
push 0
fld qword [eax + 0x270]
mov ebp, dword [eax + 0x2f0]
call fcn.0076a6b0
mov dword [esp + 0x24], ebp
mov ebp, eax
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.00436e00
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov ecx, ebp
call fcn.0047f220
test bl, bl
je 0x421b18
mov al, byte [esp + 0x13]
test al, al
je 0x421e96
lea eax, [esp + 0x28]
lea ecx, [esi + 0x108]
push eax
call fcn.00436e00
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x2b0]
test ecx, ecx
je 0x421bcb
mov eax, dword [eax + 0x2b4]
test eax, eax
jle 0x421bcb
mov ecx, dword [0xa255a0]
push eax
push 0
add ecx, 0x218
call fcn.0062fcf0
mov edx, dword [esi + 0xb0]
mov edi, eax
mov eax, dword [edx + 0x2b4]
push eax
mov eax, dword [0xa255a0]
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
add eax, edi
test eax, eax
jle 0x421bcb
mov edi, eax
push 0x1a8
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x421bc8
mov edx, dword [esi + 0xb0]
push 0
push 0x600
push 1
lea ecx, [esp + 0x48]
push 0
push ecx
mov ecx, dword [edx + 0x2b0]
push ecx
mov ecx, eax
call fcn.00420110
dec edi
jne 0x421b93
mov eax, dword [esi + 0xb0]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x48], ebx
mov cl, byte [eax + 0x314]
mov dword [esp + 0x4c], ebx
test cl, cl
mov dword [esp + 0x54], ebx
je 0x421e96
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x421e96
mov eax, dword [eax + 0x2fc]
mov ecx, eax
neg ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jg 0x421e71
mov ecx, eax
neg ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jg 0x421e54
fild dword [esp + 0x14]
fld st(0)
fmul st(1)
fstp qword [esp + 0x28]
fstp st(0)
fild dword [esp + 0x18]
sub esp, 8
fld st(0)
fmul st(1)
fadd qword [esp + 0x30]
fstp qword [esp]
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov edx, dword [esi + 0xb0]
cmp eax, dword [edx + 0x2fc]
jg 0x421e37
mov eax, dword [esp + 0x3c]
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
mov eax, dword [esp + 0x40]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x14]
and edx, 7
sar ecx, 8
add cx, word [edx*4 + 0x839d80]
lea edx, [edx*4 + 0x839d80]
sar eax, 8
mov word [esp + 0x1c], cx
mov cx, word [edx + 2]
add cx, ax
lea eax, [esp + 0x20]
mov word [esp + 0x1e], cx
mov edx, dword [esp + 0x1c]
push eax
mov ecx, 0x81a800
mov dword [esp + 0x24], edx
call fcn.005453b0
mov edi, eax
push 0
mov ecx, edi
call fcn.004787a0
test al, al
je 0x421e37
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x421e37
push 0x9c
call fcn.0076d5a7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x421d42
mov eax, dword [0xa255a0]
mov edx, dword [edi + 0x24]
push 3
push 0
lea ecx, [eax + 0x218]
mov dword [esp + 0x2c], edx
call fcn.0062fcf0
mov edx, dword [esi + 0xb0]
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
mov ecx, dword [edx + 0x2f8]
mov edx, dword [ecx + 0x264]
add edx, eax
mov eax, dword [0xa1e0fc]
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, ebx
call fcn.005d2d00
mov edx, dword [0xa255a0]
push 2
push 0
lea ecx, [edx + 0x218]
call fcn.0062fcf0
mov byte [edi + 0x11e], al
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.00474ab0
mov edx, eax
mov ebx, dword [0x821954]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
sub ecx, ebx
mov edi, dword [edx + 8]
test ebp, ebp
mov edx, dword [edx + 0xc]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edx
jle 0x421e27
mov ebx, dword [esp + 0x54]
test ebx, ebx
jle 0x421e27
test edi, edi
jle 0x421e19
test edx, edx
jle 0x421e19
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov ebx, edx
cmp ebx, eax
mov dword [esp + 0x60], ebp
jle 0x421dc2
sub ebp, eax
mov edx, eax
add ebp, ebx
mov dword [esp + 0x60], ebp
cmp edi, ecx
jle 0x421dd4
mov ebx, dword [esp + 0x64]
sub edi, ecx
add ebx, edi
mov edi, ecx
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x60]
add ebx, eax
add ebp, edx
cmp ebp, ebx
jge 0x421df2
mov ebx, dword [esp + 0x70]
sub ebx, edx
lea eax, [ebx + eax + 1]
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x74]
add ebp, ecx
lea eax, [ebx + edi]
cmp eax, ebp
jge 0x421e0d
mov ebx, dword [esp + 0x74]
sub ebx, edi
lea ebx, [ebx + ecx + 1]
mov ebp, dword [esp + 0x60]
mov eax, edx
mov ecx, edi
mov edx, ebx
jmp 0x421e29
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
jmp 0x421e29
mov ebp, edi
mov ebx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], ebx
mov ecx, dword [esi + 0xb0]
mov eax, dword [esp + 0x18]
inc eax
mov edx, dword [ecx + 0x2fc]
mov dword [esp + 0x18], eax
cmp eax, edx
jle 0x421c2f
mov edx, dword [esi + 0xb0]
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, dword [edx + 0x2fc]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jle 0x421c11
mov ecx, dword [esp + 0x48]
push 0
mov edx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x821c8c]
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
call fcn.00698510
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x7d]
test al, al
je 0x421f1f
mov al, byte [esi + 0x17b]
test al, al
jne 0x421f1f
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x2c8]
test ecx, ecx
je 0x421f1f
mov ecx, dword [eax + 0x2cc]
cmp ecx, 1
je 0x421ee0
mov eax, dword [0xa2894c]
cdq
idiv ecx
test edx, edx
jne 0x421f1f
push 0x1a8
call fcn.0076d5a7
mov edi, eax
add esp, 4
test edi, edi
je 0x421f1f
mov edx, dword [esi]
push 0
push 0x600
push 1
lea eax, [esp + 0x48]
push 1
push eax
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [esi + 0xb0]
push eax
mov edx, dword [ecx + 0x2c8]
mov ecx, edi
push edx
call fcn.00420110
mov ecx, dword [0x821b68]
mov eax, dword [esi + 0xb0]
cmp eax, dword [ecx + 0x10e4]
jne 0x421f5c
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [edx + 0x48]
push eax
mov ecx, 0x81a800
call fcn.00545340
mov ecx, eax
call fcn.004713b0
test eax, eax
je 0x421f5c
mov byte [esi + 0x17b], 1
mov al, byte [esi + 0x17b]
test al, al
jne 0x422527
mov al, byte [esi + 0x17c]
test al, al
je 0x421f83
mov byte [esi + 0x17c], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x164]
test eax, eax
je 0x421fab
dec eax
test eax, eax
mov dword [esi + 0x164], eax
jne 0x422531
mov ecx, esi
call fcn.004226d0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x7d]
test al, al
je 0x422531
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x311]
test cl, cl
je 0x421fcd
mov ecx, esi
call fcn.00422f50
mov ecx, dword [esi + 0xb0]
mov al, byte [ecx + 0x31c]
test al, al
je 0x42203f
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub ecx, 0x180
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
sub edx, 0x180
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call fcn.00545340
mov eax, dword [eax + 0x44]
cmp eax, ebp
je 0x422038
mov edx, dword [0xa1e0fc]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + 0x26c]
mov eax, dword [esi + 0xb0]
cmp ecx, eax
je 0x42203f
mov byte [esi + 0x17b], 1
mov ecx, dword [esi + 0xb0]
cmp dword [ecx + 0x288], ebp
jne 0x422086
mov edx, dword [ecx]
call dword [edx + 0x9c]
movsx eax, word [eax + 6]
mov ecx, dword [esi + 0xb0]
mov dword [ecx + 0x288], eax
mov ecx, dword [esi + 0xb0]
mov al, byte [ecx + 0x32d]
test al, al
je 0x422086
mov eax, dword [ecx + 0x288]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x288], eax
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x284], ebp
jne 0x4220a0
mov edx, dword [eax + 0x288]
mov dword [eax + 0x284], edx
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x11c]
mov al, byte [esi + 0x17e]
test al, al
jne 0x422531
mov al, byte [esi + 0x102]
test al, al
jne 0x422531
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0xa4]
cmp edx, ebp
je 0x4220e6
mov ecx, dword [0xa2894c]
sub ecx, edx
cmp ecx, eax
jge 0x4220ee
sub eax, ecx
test eax, eax
jne 0x422531
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x422531
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0x98]
add edx, ecx
mov dword [esi + 0x98], edx
mov ecx, dword [0xa2894c]
mov edx, dword [esp + 0x40]
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xb0]
mov ebx, dword [esi + 0x98]
fld qword [eax + 0x270]
fcomp qword [0x786610]
fnstsw ax
test ah, 0x41
jne 0x42226e
mov al, byte [esi + 0x174]
test al, al
jne 0x42226e
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x422185
mov edx, dword [ecx]
call dword [edx + 0x2c]
cmp eax, 0x24
jne 0x422185
mov eax, dword [esi + 0xb0]
fld qword [eax + 0x270]
fmul qword [0x787278]
jmp 0x422191
mov ecx, dword [esi + 0xb0]
fld qword [ecx + 0x270]
fadd qword [esi + 0x168]
fstp qword [esi + 0x168]
fld qword [esi + 0x168]
fcomp qword [0x785708]
fnstsw ax
test ah, 1
jne 0x42226e
mov al, byte [esi + 0x178]
test al, al
jne 0x42226e
fld qword [esi + 0x168]
call fcn.0076a6b0
mov ebp, eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x24], ebp
mov edi, str.INVISO
fild dword [esp + 0x24]
add eax, 0x24
fsubr qword [esi + 0x168]
fstp qword [esi + 0x168]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x422215
test cl, cl
je 0x422211
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x422215
add eax, 2
add edi, 2
test cl, cl
jne 0x4221f1
xor eax, eax
jmp 0x42221a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
push 1
jne 0x42223c
mov eax, dword [0x821b68]
mov edx, dword [esi]
mov ecx, dword [eax + 0xc74]
lea eax, [esp + 0x40]
push ecx
push 0
push eax
mov ecx, esi
call dword [edx + 0x48]
jmp 0x422257
mov ecx, dword [0x821b68]
mov eax, dword [esi]
mov edx, dword [ecx + 0xc5c]
lea ecx, [esp + 0x40]
push edx
push 0
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ecx, eax
mov edx, ebp
call fcn.0047dec0
mov al, byte [esi + 0x7d]
test al, al
je 0x422531
or ebp, 0xffffffff
mov eax, dword [esi + 0xb0]
xor edi, edi
mov ecx, dword [eax + 0x268]
cmp ecx, edi
je 0x42229d
mov edx, dword [eax + 0x27c]
add edx, ebx
cmp edx, ecx
jne 0x42229d
mov al, byte [esi + 0x174]
test al, al
jne 0x42229d
mov ecx, esi
call fcn.004228f0
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x32b]
test cl, cl
je 0x4222f5
mov cl, byte [esi + 0x175]
cmp cl, 1
ja 0x4222c9
cmp ebx, dword [eax + 0x288]
jge 0x4222df
cmp ebx, edi
je 0x4222df
cmp cl, 1
jbe 0x4222f5
mov ecx, dword [eax + 0x27c]
mov edx, dword [eax + 0x284]
sub edx, ecx
cmp ebx, edx
jge 0x4222df
cmp ebx, ecx
jne 0x4222f5
mov eax, dword [esi + 0xac]
neg eax
mov dword [esi + 0xac], eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [esi + 0x175]
cmp cl, 1
ja 0x42230d
cmp ebx, dword [eax + 0x288]
jge 0x422351
cmp cl, 1
jbe 0x42231d
mov edx, dword [eax + 0x284]
sub edx, dword [eax + 0x27c]
cmp ebx, edx
jge 0x422351
mov dl, byte [eax + 0x32d]
test dl, dl
je 0x422337
mov edx, dword [eax + 0x284]
sub edx, dword [eax + 0x27c]
cmp ebx, edx
jge 0x422351
mov dl, byte [eax + 0x32c]
test dl, dl
je 0x422531
cmp ebx, dword [eax + 0x27c]
jg 0x422531
test cl, cl
je 0x422362
cmp cl, 0xff
je 0x422362
dec cl
mov byte [esi + 0x175], cl
mov al, byte [esi + 0x175]
test al, al
mov eax, dword [esi + 0xb0]
je 0x4223e1
mov cl, byte [eax + 0x32c]
test cl, cl
je 0x42238a
mov eax, dword [eax + 0x284]
mov dword [esi + 0x98], eax
jmp 0x42239e
mov ecx, dword [eax + 0x280]
mov edx, dword [eax + 0x27c]
sub ecx, edx
mov dword [esi + 0x98], ecx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x29c]
cmp ecx, edi
jne 0x4223ba
cmp dword [eax + 0x2a0], edi
je 0x422531
mov eax, dword [eax + 0x2a0]
mov edx, dword [0xa255a0]
push eax
push ecx
lea ecx, [edx + 0x218]
call fcn.0062fcf0
mov dword [esi + 0x164], eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x290]
cmp ecx, edi
je 0x422520
mov dword [esi + 0xb0], ecx
mov eax, dword [ecx + 0x288]
cmp eax, ebp
jne 0x422438
mov edx, dword [ecx]
call dword [edx + 0x9c]
movsx eax, word [eax + 6]
mov ecx, dword [esi + 0xb0]
mov dword [ecx + 0x288], eax
mov ecx, dword [esi + 0xb0]
mov al, byte [ecx + 0x32d]
test al, al
je 0x422438
mov eax, dword [ecx + 0x288]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x288], eax
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x284], ebp
jne 0x422452
mov edx, dword [eax + 0x288]
mov dword [eax + 0x284], edx
mov eax, dword [esi + 0xb0]
mov byte [esi + 0x17b], 0
mov cl, byte [eax + 0x28c]
mov dword [esi + 0x168], edi
mov byte [esi + 0x175], cl
mov ecx, eax
mov dword [esi + 0x16c], edi
mov edx, dword [ecx + 0x2a4]
mov eax, dword [ecx + 0x278]
cmp edx, edi
jne 0x422491
cmp dword [ecx + 0x2a8], edi
je 0x4224aa
mov ecx, dword [ecx + 0x2a8]
push ecx
push edx
mov edx, dword [0xa255a0]
lea ecx, [edx + 0x218]
call fcn.0062fcf0
mov ecx, dword [esi + 0xb0]
mov dl, byte [ecx + 0x31e]
test dl, dl
je 0x4224dd
push eax
mov ecx, 0xa28738
call fcn.005d1c90
mov ecx, dword [0xa2894c]
lea edx, [esi + 0x9c]
mov dword [esi + 0x9c], ecx
mov ecx, dword [esp + 0x40]
jmp 0x4224f3
mov ecx, dword [0xa2894c]
lea edx, [esi + 0x9c]
mov dword [esi + 0x9c], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], eax
mov dword [esi + 0xa8], eax
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x27c]
mov dword [esi + 0x98], eax
call fcn.004226d0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x159], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret