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

Disassembly:
push 0xffffffffffffffff
push 0x57822e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x130], edi
call fcn.004ae3f0
mov esi, dword [esp + 0x1fc]
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.004ace80
add esp, 8
lea ecx, [esp + 0x5c]
push ecx
mov ecx, 0x5d6b68
mov dword [esp + 0x1f8], 0
call fcn.004ad450
mov ebx, eax
cmp ebx, dword [0x5d6b68]
je 0x4af328
lea ecx, [edi + 8]
cmp esi, ecx
je 0x4af2ce
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea edx, [esp + 0x13]
push edx
push eax
push esi
call fcn.004041c0
mov eax, dword [ebx + 0x1c]
mov dword [edi], eax
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x4af2e1
mov ecx, ebx
call fcn.00401fa0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4af2ed
call fcn.004016a0
mov dword [edi + 4], ebx
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
test ecx, ecx
mov dword [esp + 0x1f4], 0xffffffff
je 0x4afee3
cmp eax, 0x80
jbe 0x4afed9
push ecx
call fcn.0052b8dd
add esp, 4
xor eax, eax
jmp 0x4b003c
lea ecx, [esp + 0x98]
call fcn.004a4fb0
push esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1f8], 1
call fcn.004a6aa0
test eax, eax
je 0x4af3a8
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 0
call fcn.004a4fe0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
test ecx, ecx
mov dword [esp + 0x1f4], 0xffffffff
je 0x4af39e
cmp eax, 0x80
jbe 0x4af394
push ecx
call fcn.0052b8dd
add esp, 4
mov eax, 1
jmp 0x4b003c
push eax
push ecx
call fcn.0050e390
add esp, 8
mov eax, 1
jmp 0x4b003c
push 0x44
call fcn.0050f08e
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x1f4], 2
je 0x4af3cb
mov ecx, eax
call fcn.004aeb90
jmp 0x4af3cd
xor eax, eax
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1fc], 1
mov dword [esp + 0x4c], eax
call fcn.004af1c0
mov ebx, dword [esp + 0x44]
lea edx, [esp + 0x68]
push esi
push edx
mov byte [esp + 0x1fc], 3
lea ebp, [ebx + 0x38]
call fcn.004accf0
add esp, 8
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
mov byte [esp + 0x1f4], 4
je 0x4af434
lea ecx, [esp + 0x13]
push ecx
push 0x57ed05
push 0x57ed04
lea ecx, [esp + 0x74]
call fcn.004022e0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x9c]
call fcn.004a4e30
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov byte [esp + 0x1f4], 5
je 0x4afe2e
lea esp, [esp]
call fcn.0040e3a0
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
cmp eax, 8
jne 0x4af59f
mov ecx, 2
mov edi, str.filename
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4af59f
lea eax, [esp + 0x13]
push eax
push 0x57e638
lea ecx, [esp + 0x13c]
call fcn.00402250
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x200], 6
call fcn.004a59e0
mov ecx, dword [esp + 0x134]
mov eax, dword [esp + 0x13c]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0x1f4], 8
je 0x4af4fa
cmp eax, 0x80
jbe 0x4af4f0
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4af4fa
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0xac]
cmp ecx, dword [esp + 0xb0]
je 0x4afeea
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x1d8]
push edx
call fcn.0040c910
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x1f8], 9
call fcn.004a77e0
mov ecx, dword [esp + 0x1d0]
test eax, eax
mov eax, dword [esp + 0x1d8]
setne byte [esp + 0x13]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0x1f4], 8
je 0x4af57a
cmp eax, 0x80
jbe 0x4af570
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4af57a
push eax
push ecx
call fcn.0050e390
add esp, 8
mov al, byte [esp + 0x13]
test al, al
lea ecx, [esp + 0xac]
mov byte [esp + 0x1f4], 5
jne 0x4affcf
call fcn.004eefd0
jmp 0x4afde6
mov ecx, dword [esp + 0x18]
xor esi, esi
call fcn.0040e3a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cmp eax, 4
jne 0x4af65d
mov eax, dword [ecx]
mov edx, str.rect
cmp eax, dword [edx]
jne 0x4af65d
mov ecx, dword [esp + 0x18]
push esi
push esi
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
push 0
push 1
mov esi, eax
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
push 0
push 2
mov edi, eax
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
push 0
push 3
mov ebx, eax
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
push 0
push 4
mov dword [esp + 0x1c], eax
call fcn.004a4da0
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], eax
sub ecx, dword [ebp]
sar ecx, 4
cmp esi, ecx
jb 0x4af62e
lea edx, [esi + 1]
push edx
mov ecx, ebp
call fcn.004ae080
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
shl esi, 4
mov dword [eax + esi], edi
mov eax, dword [ebp]
mov dword [eax + esi + 4], ebx
mov eax, dword [ebp]
mov ebx, dword [esp + 0x44]
mov dword [eax + esi + 8], ecx
mov eax, dword [ebp]
mov dword [eax + esi + 0xc], edx
jmp 0x4afde6
mov ecx, dword [esp + 0x18]
push str.sprite
call fcn.0040e3a0
push eax
call fcn.00407070
add esp, 8
test al, al
je 0x4afcd4
mov ecx, ebx
call fcn.004a6c50
mov ecx, dword [esp + 0x18]
push esi
push esi
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
push esi
push 1
mov dword [esp + 0x54], eax
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push esi
push 2
fstp dword [esp + 0x8c]
call fcn.004a4da0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [ecx]
fstp dword [esp + 0x78]
call dword [eax + 4]
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x4af6df
fadd dword [0x57ecf8]
mov ecx, dword [ebx + 4]
fstp dword [esp + 0x24]
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x4af6fd
fadd dword [0x57ecf8]
fstp dword [esp + 0x14]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1f4], 0xa
call fcn.004a4d80
mov ecx, eax
sub ecx, 3
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
push edx
lea ecx, [esp + 0x54]
call fcn.00448180
mov ecx, dword [esp + 0x18]
mov esi, 3
call fcn.004a4d80
cmp eax, esi
jbe 0x4afc63
fld dword [0x57e6a0]
mov byte [esp + 0x2f], 0xff
fdiv dword [esp + 0x14]
mov byte [esp + 0x2e], 0xff
mov byte [esp + 0x2d], 0xff
mov byte [esp + 0x2c], 0xff
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x3f], 0xff
mov byte [esp + 0x3e], 0xff
mov byte [esp + 0x3d], 0xff
mov byte [esp + 0x3c], 0xff
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x43], 0xff
mov byte [esp + 0x42], 0xff
mov byte [esp + 0x41], 0xff
mov byte [esp + 0x40], 0xff
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x17c], edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0x164], ecx
mov byte [esp + 0x33], 0xff
mov byte [esp + 0x32], 0xff
mov byte [esp + 0x31], 0xff
mov byte [esp + 0x30], 0xff
mov edx, dword [esp + 0x30]
mov byte [esp + 0x37], 0xff
mov byte [esp + 0x36], 0xff
mov byte [esp + 0x35], 0xff
mov byte [esp + 0x34], 0xff
mov eax, dword [esp + 0x34]
mov byte [esp + 0x3b], 0xff
mov byte [esp + 0x3a], 0xff
mov byte [esp + 0x39], 0xff
mov byte [esp + 0x38], 0xff
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x108], 0
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xfc], 0
fstp dword [esp + 0x7c]
mov dword [esp + 0x1ac], edx
fld dword [0x57e6a0]
mov dword [esp + 0x114], 0
fdiv dword [esp + 0x24]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0x194], ecx
fstp dword [esp + 0x74]
jmp 0x4af870
mov ecx, dword [esp + 0x18]
push 0
push esi
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
lea edi, [esi + 2]
push 0
lea edx, [edi - 1]
fstp dword [esp + 0x24]
push edx
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push 0
push edi
fstp dword [esp + 0x30]
call fcn.004a4da0
mov ecx, dword [ebp]
shl eax, 4
fild dword [eax + ecx]
add eax, ecx
fild dword [eax + 4]
mov dword [esp + 0x178], ebx
fild dword [eax + 8]
fild dword [eax + 0xc]
fld st(1)
fsub st(4)
fld st(1)
fsub st(4)
fld dword [esp + 0x20]
fsub dword [esp + 0x84]
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fld dword [esp + 0x28]
mov ecx, eax
fsub dword [esp + 0x78]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x100], eax
fstp dword [esp + 0x8c]
fxch st(1)
fadd dword [esp + 0x20]
fsub dword [esp + 0x84]
fstp dword [esp + 0x90]
fadd dword [esp + 0x28]
fsub dword [esp + 0x78]
fstp dword [esp + 0x94]
fmul dword [esp + 0x7c]
fstp dword [esp + 0x20]
fmul dword [esp + 0x74]
fstp dword [esp + 0x28]
fmul dword [esp + 0x7c]
fst dword [esp + 0x80]
fxch st(1)
fmul dword [esp + 0x74]
fst dword [esp + 0x1dc]
fstp dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x180], eax
fstp dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
fld dword [esp + 0x8c]
mov dword [esp + 0x184], ecx
fchs
lea ecx, [esp + 0x50]
fst dword [esp + 0x24]
fstp dword [esp + 0x104]
mov edx, dword [esp + 0x104]
mov dword [esp + 0x174], edx
lea edx, [esp + 0x170]
push edx
call fcn.00417570
fld dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0xd4], edx
mov eax, edx
fstp dword [esp + 0xd8]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x148], edx
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x140]
mov dword [esp + 0x154], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x154], eax
call fcn.00417570
fld dword [esp + 0x94]
mov eax, dword [esp + 0x1dc]
fchs
mov ecx, dword [esp + 0x20]
fst dword [esp + 0x14]
mov edx, dword [esp + 0x88]
fstp dword [esp + 0xe4]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xb8], eax
mov eax, edx
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x15c], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x160], edx
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0xb8]
lea edx, [esp + 0x158]
mov dword [esp + 0x16c], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x16c], eax
call fcn.00417570
fld dword [esp + 0x24]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0xf8]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0xec], eax
mov eax, edx
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x1a4], ecx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x1a8], edx
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0xec]
lea edx, [esp + 0x1a0]
mov dword [esp + 0x1b4], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x1b4], eax
call fcn.00417570
fld dword [esp + 0x14]
mov eax, dword [esp + 0x1dc]
fstp dword [esp + 0x110]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x118], eax
mov eax, edx
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x114]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x1bc], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x1c0], edx
lea edx, [esp + 0x1b8]
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00417570
fld dword [esp + 0x14]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0xc4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x12c], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x128], eax
mov eax, edx
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x190], edx
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x128]
lea edx, [esp + 0x188]
mov dword [esp + 0x19c], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x19c], eax
call fcn.00417570
mov ecx, dword [esp + 0x18]
add esi, 3
call fcn.004a4d80
cmp esi, eax
jb 0x4af870
mov edi, dword [esp + 0x44]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov esi, dword [esp + 0x4c]
add edi, 0x20
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4afca8
sub esp, 0xc
xor ecx, ecx
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x58], esp
push ecx
mov ecx, edi
call fcn.004aef80
mov edi, dword [edi]
lea edx, [esp + 0x50]
lea eax, [esi + esi*2]
push edx
lea ecx, [edi + eax*4]
call fcn.004adc90
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f4], 5
call fcn.0042f210
mov ebx, dword [esp + 0x44]
jmp 0x4afde6
mov ecx, dword [esp + 0x18]
push str.animation
call fcn.0040e3a0
push eax
call fcn.00407070
add esp, 8
test al, al
je 0x4afde6
mov ecx, dword [esp + 0x18]
push 0
push 0
call fcn.004a4da0
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
lea esi, [ebx + 0x2c]
sub ecx, edx
mov edi, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4afd2c
lea edx, [edi + 1]
push edx
mov ecx, esi
call fcn.004af190
mov esi, dword [esi]
mov ecx, dword [esp + 0x18]
lea eax, [edi + edi*2]
lea edi, [esi + eax*4]
call fcn.004a4d80
dec eax
shr eax, 1
push eax
mov ecx, edi
call fcn.004addb0
mov ecx, dword [esp + 0x18]
mov esi, 1
call fcn.004a4d80
cmp eax, esi
jbe 0x4afde6
mov edi, edi
mov ecx, dword [esp + 0x18]
push esi
call fcn.004a4d90
mov ecx, eax
call fcn.004f1d10
test eax, eax
push 0
jne 0x4afd98
lea ecx, [esi + 1]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], 0xffffffff
call fcn.004a4da0
mov dword [esp + 0xa8], eax
jmp 0x4afdc3
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004a4da0
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esi + 1]
push edx
mov dword [esp + 0xac], eax
call fcn.004a4da0
test eax, eax
mov dword [esp + 0xa8], eax
je 0x4afdd2
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
call fcn.004ae000
mov ecx, dword [esp + 0x18]
add esi, 2
call fcn.004a4d80
cmp esi, eax
jb 0x4afd60
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov byte [esp + 0x1f4], 4
je 0x4afdfb
call fcn.004016a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x9c]
call fcn.004a4e30
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov byte [esp + 0x1f4], 5
jne 0x4af460
mov edi, dword [esp + 0x130]
mov esi, dword [esp + 0x1fc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov byte [esp + 0x1f4], 4
je 0x4afe43
call fcn.004016a0
lea ecx, [edi + 8]
cmp esi, ecx
je 0x4afe5b
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea edx, [esp + 0x13]
push edx
push eax
push esi
call fcn.004041c0
mov esi, dword [esp + 0x48]
test esi, esi
mov dword [edi], ebx
je 0x4afe6c
mov ecx, esi
call fcn.00401fa0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4afe78
call fcn.004016a0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
sub eax, ecx
test ecx, ecx
mov dword [edi + 4], esi
mov byte [esp + 0x1f4], 3
je 0x4afead
cmp eax, 0x80
jbe 0x4afea3
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4afead
push eax
push ecx
call fcn.0050e390
add esp, 8
test esi, esi
mov byte [esp + 0x1f4], 1
je 0x4afec0
mov ecx, esi
call fcn.004016a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 0
call fcn.004a4fe0
jmp 0x4af2f0
push eax
push ecx
call fcn.0050e390
add esp, 8
xor eax, eax
jmp 0x4b003c
mov eax, dword [esp + 0xb4]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0x1f4], 5
je 0x4aff1b
cmp eax, 0x80
jbe 0x4aff11
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4aff1b
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov byte [esp + 0x1f4], 4
je 0x4aff30
call fcn.004016a0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0x1f4], 3
je 0x4aff62
cmp eax, 0x80
jbe 0x4aff58
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4aff62
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov byte [esp + 0x1f4], 1
je 0x4aff77
call fcn.004016a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 0
call fcn.004a4fe0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
sub eax, ecx
test ecx, ecx
mov dword [esp + 0x1f4], 0xffffffff
je 0x4affc8
cmp eax, 0x80
jbe 0x4affbe
push ecx
call fcn.0052b8dd
add esp, 4
mov eax, 2
jmp 0x4b003c
push eax
push ecx
call fcn.0050e390
add esp, 8
mov eax, 2
jmp 0x4b003c
call fcn.004eefd0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov byte [esp + 0x1f4], 4
je 0x4affe9
call fcn.004016a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1f4], 3
call fcn.004eefd0
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov byte [esp + 0x1f4], 1
je 0x4b000f
call fcn.004016a0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 0
call fcn.004a4fe0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1f4], 0xffffffff
call fcn.004eefd0
mov eax, 3
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e8
ret 4