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

Disassembly:
push 0xffffffffffffffff
push 0x628ba4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x64], ebp
cmp eax, ebx
jne 0x54ce95
xor eax, eax
jmp 0x54dbc4
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
call fcn.00553690
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
fld dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], edx
fcomp dword [esp + 0x78]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
fnstsw ax
test ah, 1
je 0x54cee0
fld dword [esp + 0x7c]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 1
jne 0x54cee7
xor eax, eax
jmp 0x54dbc4
mov ecx, ebp
call fcn.00549070
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x2c], esi
jne 0x54ceff
xor eax, eax
jmp 0x54dbc4
mov ecx, ebp
call fcn.00549050
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x54cf15
xor eax, eax
jmp 0x54dbc4
mov ecx, esi
call fcn.004b12b0
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x54cf9d
mov eax, dword [ebp + 0xc]
push eax
call fcn.00486fb0
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x18], edi
jne 0x54cf63
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
push str.Helvetica
call fcn.00489840
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00487110
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x54cf9d
lea ecx, [esp + 0x34]
call fcn.004897f0
mov ecx, dword [ebp + 0x34]
lea edx, [esp + 0x34]
push edx
push edi
mov dword [esp + 0x170], ebx
call fcn.00488440
push edi
mov ecx, esi
call fcn.004b1390
lea ecx, [esp + 0x34]
mov dword [esp + 0x168], 0xffffffff
call fcn.00489810
push 0x19c
call fcn.00486570
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x168], 1
je 0x54cfca
mov ecx, eax
call fcn.00570510
mov dword [esp + 0x3c], eax
jmp 0x54cfce
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x134]
mov dword [esp + 0x168], 0xffffffff
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x104], ebx
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x120], ebx
mov dword [esp + 0x130], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x124], 0
call fcn.004d4a50
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xe4]
mov dword [esp + 0x154], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x14c], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], 1
mov dword [esp + 0x14c], 0x41100000
mov dword [esp + 0x160], ebx
call fcn.00549090
mov ecx, dword [eax]
mov edi, 0xc8000000
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xfc], ebx
call fcn.004973a0
test eax, 0x80000
je 0x54d11b
mov edi, 0xc8000002
and eax, 0x200000
mov dword [esp + 0x60], eax
je 0x54d129
or edi, 1
push ecx
mov dword [esp + 0x104], edi
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push 0x6a22b0
call fcn.00489840
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call fcn.004b0e00
mov eax, dword [esp + 0x40]
cmp eax, ebx
jle 0x54d282
fld dword [esp + 0x1c]
fcomp dword [0x635e2c]
mov dword [esp + 0x48], eax
fnstsw ax
test ah, 0x41
jne 0x54d190
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d19c
fstp dword [esp + 0x4c]
jmp 0x54d1a6
fld dword [0x635e2c]
fstp dword [esp + 0x4c]
jmp 0x54d1a6
fstp st(0)
mov dword [esp + 0x4c], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d1d2
fld dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d1de
fstp dword [esp + 0x50]
jmp 0x54d1e8
fld dword [0x635e2c]
fstp dword [esp + 0x50]
jmp 0x54d1e8
fstp st(0)
mov dword [esp + 0x50], 0x3f800000
fld dword [esp + 0x24]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d214
fld dword [esp + 0x24]
fld dword [esp + 0x24]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d220
fstp dword [esp + 0x54]
jmp 0x54d22a
fld dword [0x635e2c]
fstp dword [esp + 0x54]
jmp 0x54d22a
fstp st(0)
mov dword [esp + 0x54], 0x3f800000
fld dword [esp + 0x28]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d256
fld dword [esp + 0x28]
fld dword [esp + 0x28]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d262
fstp dword [esp + 0x58]
jmp 0x54d26c
fld dword [0x635e2c]
fstp dword [esp + 0x58]
jmp 0x54d26c
fstp st(0)
mov dword [esp + 0x58], 0x3f800000
mov ecx, 5
lea esi, [esp + 0x48]
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push 0x69bdd0
call fcn.00489840
lea edx, [esp + 0x20]
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, esi
call fcn.004b0e00
mov eax, dword [esp + 0x40]
cmp eax, ebx
jle 0x54d3d4
fld dword [esp + 0x1c]
fcomp dword [0x635e2c]
mov dword [esp + 0x48], eax
fnstsw ax
test ah, 0x41
jne 0x54d2e2
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d2ee
fstp dword [esp + 0x4c]
jmp 0x54d2f8
fld dword [0x635e2c]
fstp dword [esp + 0x4c]
jmp 0x54d2f8
fstp st(0)
mov dword [esp + 0x4c], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d324
fld dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d330
fstp dword [esp + 0x50]
jmp 0x54d33a
fld dword [0x635e2c]
fstp dword [esp + 0x50]
jmp 0x54d33a
fstp st(0)
mov dword [esp + 0x50], 0x3f800000
fld dword [esp + 0x24]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d366
fld dword [esp + 0x24]
fld dword [esp + 0x24]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d372
fstp dword [esp + 0x54]
jmp 0x54d37c
fld dword [0x635e2c]
fstp dword [esp + 0x54]
jmp 0x54d37c
fstp st(0)
mov dword [esp + 0x54], 0x3f800000
fld dword [esp + 0x28]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d3a8
fld dword [esp + 0x28]
fld dword [esp + 0x28]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d3b4
fstp dword [esp + 0x58]
jmp 0x54d3be
fld dword [0x635e2c]
fstp dword [esp + 0x58]
jmp 0x54d3be
fstp st(0)
mov dword [esp + 0x58], 0x3f800000
mov ecx, 5
lea esi, [esp + 0x48]
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov ecx, ebp
call fcn.00553eb0
mov ecx, ebp
mov dword [esp + 0x11c], eax
call fcn.005547c0
dec eax
mov ecx, 3
cmp eax, ecx
mov edi, 2
ja case.default.0x54d3f8
jmp dword [eax*4 + 0x54dbe0]
mov eax, ecx
mov dword [esp + 0x118], 1
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], ebx
jmp 0x54d46b
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x118], edi
lea edx, [ecx + ecx]
mov dword [esp + 0x11c], edx
jmp 0x54d46b
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x118], ecx
lea ecx, [eax + eax]
mov dword [esp + 0x11c], ecx
jmp 0x54d46b
mov dword [esp + 0x118], 4
jmp 0x54d46b
mov dword [esp + 0x118], ebx
lea edx, [esp + 0x44]
mov ecx, esi
push edx
call fcn.004b1160
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x16c], edi
call fcn.00550d00
test eax, eax
je 0x54d5c6
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.004af020
fld dword [esp + 0x1c]
fcomp dword [0x635e2c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
fnstsw ax
test ah, 0x41
jne 0x54d4d8
fld dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d4e4
fstp dword [esp + 0x4c]
jmp 0x54d4ee
fld dword [0x635e2c]
fstp dword [esp + 0x4c]
jmp 0x54d4ee
fstp st(0)
mov dword [esp + 0x4c], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d51a
fld dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d526
fstp dword [esp + 0x50]
jmp 0x54d530
fld dword [0x635e2c]
fstp dword [esp + 0x50]
jmp 0x54d530
fstp st(0)
mov dword [esp + 0x50], 0x3f800000
fld dword [esp + 0x24]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d55c
fld dword [esp + 0x24]
fld dword [esp + 0x24]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d568
fstp dword [esp + 0x54]
jmp 0x54d572
fld dword [0x635e2c]
fstp dword [esp + 0x54]
jmp 0x54d572
fstp st(0)
mov dword [esp + 0x54], 0x3f800000
fld dword [esp + 0x28]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
jne 0x54d59e
fld dword [esp + 0x28]
fld dword [esp + 0x28]
fcomp dword [0x635df0]
fnstsw ax
test ah, 1
je 0x54d5aa
fstp dword [esp + 0x58]
jmp 0x54d5b4
fld dword [0x635e2c]
fstp dword [esp + 0x58]
jmp 0x54d5b4
fstp st(0)
mov dword [esp + 0x58], 0x3f800000
mov ecx, 5
lea esi, [esp + 0x48]
lea edi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x68]
call fcn.004897f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], 3
call fcn.004ae870
test eax, eax
je 0x54d602
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.004ae8b0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x148], edx
fld dword [esp + 0x148]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 0x41
je 0x54d621
mov dword [esp + 0x148], 0x41400000
mov ecx, dword [ebp + 0x34]
call fcn.00488560
lea ecx, [esp + 0x70]
mov esi, eax
call fcn.004897f0
cmp esi, ebx
mov byte [esp + 0x168], 4
je 0x54d64e
mov ecx, dword [ebp + 0x34]
lea eax, [esp + 0x70]
push eax
push esi
call fcn.00488420
push 0x40
call fcn.005e6fe9
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x168], 5
je 0x54d676
push ebp
mov ecx, eax
call fcn.0056e090
mov dword [esp + 0x34], eax
jmp 0x54d67a
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
mov edx, dword [esi]
mov byte [esp + 0x16c], 4
call dword [edx + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0xf8], esi
lea eax, [esp + 0xe4]
mov edx, dword [edi + 0xbc]
lea ebp, [edi + 0xbc]
push eax
mov ecx, ebp
call dword [edx + 8]
test eax, eax
je 0x54db6e
lea ecx, [esp + 0x98]
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
call fcn.004897f0
push 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 6
call fcn.0048dba0
mov ecx, dword [0x65d4cc]
mov byte [esp + 0x168], 7
mov dword [esp + 0xc0], ecx
mov edx, ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
call fcn.004897f0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x168], 8
call fcn.004897f0
push 0x6e4c7c
lea ecx, [esp + 0x9c]
mov byte [esp + 0x16c], 9
mov dword [esp + 0x98], 0x3f800000
call fcn.00489a10
push 0xffffffffffffffff
push 0x68f3a0
lea ecx, [esp + 0x74]
call fcn.00489840
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x9c]
push eax
mov byte [esp + 0x16c], 0xa
call fcn.0054ea10
lea ecx, [esp + 0x6c]
mov byte [esp + 0x168], 9
call fcn.00489810
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 0xb
call fcn.004897f0
push 0xffffffffffffffff
push str.Text
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0xc
call fcn.00489840
mov ecx, dword [esp + 0xa0]
push 1
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x170], 0xd
call fcn.0048dd00
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x168], 0xe
je 0x54d86a
lea edx, [esp + 0x14]
mov ecx, eax
push edx
call fcn.004898b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0xc
call fcn.00489810
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0xb4], 1
call fcn.00548e90
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00549090
mov edx, dword [eax]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0xd0]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0xd4], 1
call fcn.00488420
test eax, eax
jne 0x54d910
push str.ZiTi
lea ecx, [esp + 0xd4]
call fcn.00489a10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xd4], eax
call fcn.00498710
mov edi, dword [esp + 0x3c]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x18], eax
jle 0x54d978
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004987a0
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
lea eax, [esp + 0x38]
mov byte [esp + 0x168], 0xf
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x40], ebx
call dword [edx + 0x34]
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0xc
call fcn.00495920
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x54d932
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.00497960
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebx
jle 0x54d9fa
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
call fcn.00497a80
cmp eax, ebx
jl 0x54d9e9
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x54d9d0
lea ecx, [esp + 0x38]
mov eax, 1
push ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi]
push edx
push ecx
mov ecx, edi
call dword [eax + 0x5c]
jmp 0x54d9e9
mov edx, dword [edi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x18], 1
call dword [edx + 0x54]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x54d98f
mov edx, dword [ebp]
push ebx
push 1
mov ecx, ebp
call dword [edx + 0xb4]
mov ecx, esi
call fcn.00498f00
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.00489c40
mov edx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call dword [edx + 0x18]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
mov eax, dword [ecx + 0x38]
push edx
mov dword [esp + 0xe0], eax
call fcn.0054ce40
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x16c], 0x10
call fcn.00489a30
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0xc
call fcn.00489810
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
push 0x6e8734
call fcn.00489840
lea eax, [esp + 0x88]
push ebx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x174], 0xc
call fcn.00489930
mov ecx, dword [esp + 0x70]
push eax
push esi
add ecx, 0x10
call fcn.005577a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 0xb
call fcn.00489810
lea ecx, [esp + 0xd8]
mov byte [esp + 0x168], 0x14
call fcn.00489810
lea ecx, [esp + 0xd0]
mov byte [esp + 0x168], 0x13
call fcn.00489810
lea edx, [esp + 0x9c]
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0xa0]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x168], 0x15
jle 0x54db2f
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x9c]
imul ecx, esi
add ecx, edx
call fcn.00489810
mov eax, dword [esp + 0xa0]
inc esi
cmp esi, eax
jl 0x54db0b
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa4]
call fcn.0048dbd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x168], 0x12
call fcn.0048dbc0
lea ecx, [esp + 0x98]
mov byte [esp + 0x168], 4
call fcn.00489810
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
cmp edi, ebx
je 0x54db7c
mov eax, dword [edi + 0x34]
lea ecx, [edi + 0x34]
push 1
call dword [eax]
cmp esi, ebx
je 0x54db89
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x3c]
lea ecx, [esp + 0x70]
mov byte [esp + 0x168], 3
call fcn.00489810
lea ecx, [esp + 0x68]
mov byte [esp + 0x168], 2
call fcn.00489810
lea ecx, [esp + 0x44]
mov dword [esp + 0x168], 0xffffffff
call fcn.00489810
mov eax, 1
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret