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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x623046
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x682d00]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, ecx
push ebx
lea ecx, [esp + 0x148]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x60], eax
call fcn.005199a0
mov dword [esp + 0x1e8], 0
test esi, esi
je 0x54ae35
mov dword [esp + 0x24], esi
jmp 0x54ae5e
lea ecx, [esp + 0x144]
call fcn.004e31e0
movzx ecx, ax
push ecx
call fcn.00529490
mov ecx, eax
call fcn.00529660
mov esi, eax
test eax, eax
jne 0x54ae5a
mov esi, dword [edi + 0x24]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x54ae89
lea ecx, [esp + 0x144]
call fcn.004b0630
movzx edx, ax
push edx
call fcn.00529490
mov ecx, eax
call fcn.00529660
test eax, eax
jne 0x54ae89
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
test esi, esi
jne 0x54ae99
test eax, eax
je 0x54bbf7
mov ecx, ebx
call fcn.00518640
test eax, eax
je 0x54af6c
lea ecx, [esp + 0xd8]
call fcn.00516940
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x10]
push ecx
push eax
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x150]
push eax
mov byte [esp + 0x1f8], 1
call fcn.0054a1d0
xor esi, esi
add esp, 0x10
cmp dword [esp + 0xd8], esi
jle 0x54af0e
jmp 0x54aef0
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx + esi*4]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
inc esi
cmp esi, dword [esp + 0xd8]
jl 0x54aef0
lea ecx, [esp + 0xd8]
call fcn.00516990
lea ecx, [esp + 0x124]
push ecx
mov ecx, ebx
call fcn.005187e0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 2
call fcn.00519bb0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 1
call fcn.005ebd80
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1e8], 0
call fcn.004925b0
mov esi, dword [esp + 0x24]
xor edi, edi
test byte [esp + 0x170], 1
mov dword [esp + 0x60], edi
je 0x54af84
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x144]
call fcn.00517db0
lea ecx, [esp + 0x144]
mov dword [esp + 0x5c], eax
call fcn.00401a20
fild dword [esp + 0x148]
mov edx, dword [esp + 0x154]
mov dword [esp + 0x64], eax
fst qword [esp + 0x4c]
mov dword [esp + 0x38], edx
fild dword [esp + 0x150]
mov dword [esp + 0xb4], edi
fstp qword [esp + 0x10c]
fld st(0)
fadd st(1)
fst qword [esp + 0x124]
fild dword [esp + 0x14c]
fst qword [esp + 0x3c]
fldz
fst qword [esp + 0x104]
fst qword [esp + 0x114]
fst qword [esp + 0xf4]
fstp qword [esp + 0xfc]
cmp esi, edi
je 0x54b085
mov eax, dword [esi + 8]
cmp eax, edi
je 0x54b017
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
jmp 0x54b01b
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fdivp st(3)
fxch st(2)
fstp qword [esp + 0x104]
cmp eax, edi
je 0x54b037
mov edx, dword [eax + 0x34]
mov dword [esp + 0x10], edx
jmp 0x54b03b
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
cmp eax, edi
je 0x54b04e
mov ecx, dword [eax + 0x20]
and ecx, 0xffff0000
jmp 0x54b050
xor ecx, ecx
test ecx, 0x10000
je 0x54b07a
cmp eax, edi
je 0x54b071
fdivr st(2)
mov eax, dword [eax + 0x38]
mov dword [esp + 0xb4], eax
fstp qword [esp + 0xf4]
jmp 0x54b087
xor eax, eax
mov dword [esp + 0xb4], eax
fdivr st(2)
fstp qword [esp + 0xf4]
jmp 0x54b087
fstp st(2)
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x54b0d7
mov eax, dword [eax + 8]
cmp eax, edi
je 0x54b09f
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
jmp 0x54b0a3
mov dword [esp + 0x10], edi
fidiv dword [esp + 0x10]
fstp qword [esp + 0x114]
cmp eax, edi
je 0x54b0c6
mov edx, dword [eax + 0x34]
mov dword [esp + 0x10], edx
fidiv dword [esp + 0x10]
fstp qword [esp + 0xfc]
jmp 0x54b0db
mov dword [esp + 0x10], edi
fidiv dword [esp + 0x10]
fstp qword [esp + 0xfc]
jmp 0x54b0db
fstp st(1)
fstp st(0)
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x148]
call fcn.00517c90
lea ecx, [esp + 0x144]
call fcn.00479880
fild dword [esp + 0x158]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 4]
fstp qword [esp + 0xbc]
fld qword [esp + 0x15c]
mov dword [esp + 0x58], edx
fst qword [esp + 0xec]
mov dword [esp + 0x7c], edi
fldz
mov dword [esp + 0x80], edi
fucompp
fnstsw ax
test ah, 0x44
jp 0x54b13e
xor edi, edi
jmp 0x54b143
mov edi, 1
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x14], edi
call fcn.00517e00
push eax
lea ecx, [esp + 0xd0]
call fcn.00521c40
mov bl, byte [esp + 0x16f]
mov byte [esp + 0x1e8], 3
mov byte [esp + 0x16], bl
test edi, edi
je 0x54b1a4
fld qword [esp + 0xec]
lea ecx, [esp + 0x54]
push ecx
fchs
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xd8]
fstp qword [eax]
mov dword [esp + 0x28], esp
call fcn.00523120
mov al, bl
and al, 1
mov byte [esp + 0x17], al
je 0x54b1bf
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0xd0]
call fcn.00523650
and bl, 2
mov byte [esp + 0x15], bl
je 0x54b1d9
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xd0]
call fcn.005236a0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xd0]
call fcn.0051a2f0
mov edx, dword [eax + 4]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x124], edx
call fcn.0051a2f0
cmp dword [esp + 0x5c], 0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
mov dword [esp + 0x30], 0
fst qword [esp + 0x84]
fst qword [esp + 0x6c]
fild dword [esp + 0x120]
fstp qword [esp + 0xe4]
jle 0x54b765
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
jmp 0x54b257
fld qword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov al, byte [ebx + edx]
cmp al, 0xa
jne 0x54b285
fstp qword [esp + 0x6c]
inc ebx
fld qword [esp + 0xbc]
fadd qword [esp + 0x3c]
fsubr qword [esp + 0xe4]
fstp qword [esp + 0xe4]
jmp 0x54b759
movsx esi, al
fstp st(0)
mov ecx, esi
shr ecx, 7
not cl
and cl, 1
mov byte [esp + 0x23], cl
je 0x54b356
test edi, edi
je 0x54b349
mov ecx, edi
call fcn.00517850
mov ecx, edi
test eax, 0x20000
je 0x54b31a
lea edx, [esp + 0xb8]
push edx
push esi
call fcn.00527db0
fild dword [esp + 0x148]
mov esi, eax
inc ebx
add esi, esi
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x30], ebx
jle 0x54b307
fimul dword [esp + 0xb8]
mov ecx, edi
fstp qword [esp + 0x4c]
call fcn.00517870
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x54b338
fdivr qword [esp + 0x4c]
mov eax, dword [0x6839d8]
fstp qword [esp + 0x4c]
fld qword [esp + 0x4c]
mov dword [esp + 0x78], eax
jmp 0x54b396
push esi
call fcn.00527dd0
fld qword [esp + 0x4c]
mov esi, eax
mov eax, dword [0x6839d8]
add esi, esi
inc ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], eax
jmp 0x54b396
mov eax, dword [0x6839d8]
fstp st(0)
fld qword [esp + 0x4c]
mov dword [esp + 0x78], eax
jmp 0x54b396
fld qword [esp + 0x4c]
inc ebx
mov dword [esp + 0x30], ebx
xor esi, esi
jmp 0x54b396
mov cl, byte [ebx + edx + 1]
inc ebx
inc ebx
cmp dword [esp + 0x28], 0
mov byte [esp + 0x35], al
mov byte [esp + 0x34], cl
mov dword [esp + 0x30], ebx
je 0x54b38d
movzx edx, word [esp + 0x34]
mov ecx, dword [esp + 0x28]
push edx
call fcn.00527dd0
mov esi, eax
mov eax, dword [0x6839d8]
add esi, esi
mov dword [esp + 0x78], eax
jmp 0x54b38f
xor esi, esi
fld qword [esp + 0x124]
fst qword [esp + 0x134]
test esi, esi
jg 0x54b3ad
fadd qword [esp + 0x10c]
jmp 0x54b751
xor ecx, ecx
fstp st(0)
mov eax, esi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1e8], 4
test eax, eax
je 0x54b404
push fcn.0051a4a0
push fcn.005eec00
push esi
lea ebx, [eax + 4]
push 0x10
push ebx
mov dword [eax], esi
call fcn.005f9bc7
mov dword [esp + 0x2c], ebx
jmp 0x54b40c
mov dword [esp + 0x2c], 0
xor edi, edi
cmp esi, edi
mov byte [esp + 0x1e8], 3
mov dword [esp + 0x68], edi
jle 0x54b713
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
test byte [ebx + eax], 0x80
jne 0x54b51a
test edi, edi
je 0x54b518
mov ecx, dword [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.0055e290
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e8], 5
je 0x54b48d
cmp byte [esp + 0x17], 0
je 0x54b475
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x98]
call fcn.00560f90
cmp byte [esp + 0x15], 0
je 0x54b48d
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.005610f0
cmp dword [esp + 0x10], 0
je 0x54b4b7
fld qword [esp + 0xec]
lea ecx, [esp + 0x54]
push ecx
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xa0]
fstp qword [eax]
mov dword [esp + 0x28], esp
call fcn.00560200
cmp dword [ebp + 0x14], 0
jne 0x54b4e0
cmp dword [esp + 0x60], 0
je 0x54b4cb
cmp dword [esp + 0x38], 0
jne 0x54b4e0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
call edx
jmp 0x54b500
mov edi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.00562690
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.005472d0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 3
call fcn.00563400
mov eax, dword [esp + 0x78]
xor edi, edi
movzx ecx, byte [ebx + eax]
movzx eax, byte [ebx + eax + 1]
and ecx, 0x7f
and eax, 0x7f
cmp byte [esp + 0x23], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], eax
fild dword [esp + 0x1c]
je 0x54b595
fmul qword [esp + 0x104]
sub eax, dword [esp + 0xb4]
mov dword [esp + 0x74], eax
fadd qword [esp + 0x6c]
fldz
fcom st(1)
fnstsw ax
fld qword [0x632648]
test ah, 0x41
jp 0x54b567
fadd st(2), st(0)
jmp 0x54b569
fsub st(2), st(0)
fxch st(2)
call fcn.005f9c80
fild dword [esp + 0x74]
mov dword [esp + 0x7c], eax
fmul qword [esp + 0xf4]
fadd qword [esp + 0xe4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x54b5e3
faddp st(1)
jmp 0x54b5e5
fmul qword [esp + 0x114]
fadd qword [esp + 0x6c]
fldz
fcom st(1)
fnstsw ax
fld qword [0x632648]
test ah, 0x41
jp 0x54b5b5
fadd st(2), st(0)
jmp 0x54b5b7
fsub st(2), st(0)
fxch st(2)
call fcn.005f9c80
fild dword [esp + 0x74]
mov dword [esp + 0x7c], eax
fmul qword [esp + 0xfc]
fadd qword [esp + 0xe4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x54b5e3
faddp st(1)
jmp 0x54b5e5
fsubrp st(1)
call fcn.005f9c80
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
mov edx, edi
shl edx, 4
lea ecx, [esp + 0x7c]
lea ebx, [edx + eax]
push ecx
mov ecx, ebx
call fcn.005823c0
test byte [ebx + 2], 8
je 0x54b618
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], edx
jmp 0x54b61f
mov eax, dword [esp + 0x38]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x68]
add eax, 2
inc edi
cmp eax, esi
mov dword [esp + 0x68], eax
jl 0x54b422
test edi, edi
je 0x54b713
mov ecx, dword [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.0055e290
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e8], 6
je 0x54b68c
cmp byte [esp + 0x17], 0
je 0x54b674
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x98]
call fcn.00560f90
cmp byte [esp + 0x15], 0
je 0x54b68c
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.005610f0
cmp dword [esp + 0x10], 0
je 0x54b6b6
fld qword [esp + 0xec]
lea ecx, [esp + 0x54]
push ecx
sub esp, 8
mov eax, esp
lea ecx, [esp + 0xa0]
fstp qword [eax]
mov dword [esp + 0x28], esp
call fcn.00560200
cmp dword [ebp + 0x14], 0
jne 0x54b6df
cmp dword [esp + 0x60], 0
je 0x54b6ca
cmp dword [esp + 0x38], 0
jne 0x54b6df
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
call edx
jmp 0x54b6ff
mov esi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.00562690
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.005472d0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 3
call fcn.00563400
cmp dword [esp + 0x2c], 0
je 0x54b73b
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0051a4a0
push ecx
push 0x10
push eax
call fcn.005f9b64
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
fld qword [esp + 0x10c]
mov ebx, dword [esp + 0x30]
fadd qword [esp + 0x134]
mov edi, dword [esp + 0x24]
fadd qword [esp + 0x6c]
fstp qword [esp + 0x6c]
cmp ebx, dword [esp + 0x5c]
jl 0x54b250
jmp 0x54b767
fstp st(0)
test byte [esp + 0x170], 2
je 0x54b897
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x190]
call fcn.005199a0
mov eax, dword [esp + 0x178]
sar eax, 1
mov bl, 7
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], bl
mov dword [esp + 0x1c0], eax
call fcn.005272c0
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x190]
mov byte [esp + 0x1ec], 8
call fcn.00517f20
push 4
lea ecx, [esp + 0x128]
call fcn.004baa40
push eax
lea ecx, [esp + 0x9c]
call fcn.0055e1b0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 9
call fcn.004baa40
push eax
lea ecx, [esp + 0x98]
call fcn.00563710
mov edx, dword [esp + 0x178]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x9c]
call fcn.00563470
cmp dword [ebp + 0x14], 0
je 0x54b844
mov esi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.00562690
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.005472d0
jmp 0x54b857
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x94]
push edx
call eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 8
call fcn.00563400
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], bl
call fcn.00527c20
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e8], 3
call fcn.00519d00
jmp 0x54bbe3
cmp dword [esp + 0x60], 0
je 0x54bbe3
cmp dword [ebp + 0x14], 0
jne 0x54bbe3
lea ecx, [esp + 0x134]
call fcn.005272c0
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 0xa
call fcn.00517f20
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x190]
call fcn.00540870
cmp dword [esp + 0x38], 0
mov byte [esp + 0x1e8], 0xb
jne 0x54b942
mov eax, dword [esp + 0x178]
fld qword [esp + 0x15c]
sub esp, 8
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1b4], eax
mov eax, esp
lea ecx, [esp + 0x194]
fstp qword [eax]
mov dword [esp + 0x6c], esp
call fcn.00540990
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x18c]
push edx
call eax
jmp 0x54bbbb
lea ecx, [esp + 0x3c]
call fcn.00516940
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x1ec], 0xc
call fcn.00546130
lea ecx, [esp + 0xbc]
call fcn.00516940
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xd
call fcn.00516940
push 1
push 0
push 0
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1f8], 0xe
call fcn.0054e2c0
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
mov byte [esp + 0x1e8], 0xf
jle 0x54ba51
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + ebx*4]
push 0
push 0
push 0
push 0
lea edx, [esp + 0xcc]
push edx
push ecx
lea ecx, [esp + 0xac]
call fcn.00550600
xor esi, esi
cmp dword [esp + 0xbc], esi
jle 0x54ba3a
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
mov byte [esp + 0x1e8], 0x10
test eax, eax
je 0x54ba10
mov edx, dword [esp + 0xc4]
mov ecx, dword [edx + esi*4]
push ecx
mov ecx, eax
call fcn.00542ce0
mov edi, eax
jmp 0x54ba12
xor edi, edi
mov edx, dword [esp + 0x84]
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1ec], 0xf
call fcn.005f1b40
inc esi
mov dword [eax], edi
cmp esi, dword [esp + 0xbc]
jl 0x54b9e0
lea ecx, [esp + 0xbc]
call fcn.00516990
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x54b9b1
lea ecx, [esp + 0x3c]
call fcn.00516990
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x194]
call fcn.00540d40
lea ecx, [esp + 0x84]
call fcn.00516990
fld qword [esp + 0x15c]
mov edx, dword [esp + 0x18]
fstp qword [esp + 0x124]
mov esi, dword [esp + 0x178]
xor edi, edi
cmp dword [esp + 0x3c], edi
mov dword [0x683aa0], edi
mov dword [0x683aa4], edi
mov dword [edx + 0xc], 1
jle 0x54bb65
mov ebx, edx
mov eax, dword [esp + 0x44]
fld qword [esp + 0x124]
mov eax, dword [eax + edi*4]
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + edi*4]
mov dword [eax + 0x20], esi
sub esp, 8
mov eax, esp
fstp qword [eax]
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + edi*4]
mov dword [esp + 0x6c], esp
call fcn.00540990
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x54bafb
add eax, 0x14
jmp 0x54bafd
xor eax, eax
push eax
lea ecx, [esp + 0x50]
call fcn.005ee7e0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x1e8], 0x11
test eax, eax
je 0x54bb38
add eax, 0xffffffec
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp eax, dword [ecx]
jne 0x54bb2d
xor eax, eax
jmp 0x54bb30
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x54bb17
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edi*4]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push ecx
mov ecx, ebx
call edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1e8], 0xf
call fcn.0051a4a0
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x54bab9
lea ecx, [esp + 0x3c]
call fcn.00516990
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 0xe
call fcn.0054e400
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xd
call fcn.004925b0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1e8], 0xc
call fcn.004925b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e8], 0xb
call fcn.004925b0
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e8], 0xa
call fcn.00543410
lea ecx, [esp + 0x134]
mov byte [esp + 0x1e8], 3
call fcn.00527c20
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1e8], 0
call fcn.00521ca0
lea ecx, [esp + 0x144]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.00519d00
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.005f9aee
mov esp, ebp
pop ebp
ret 0x10