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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61f0e6
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
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.005161b0
mov dword [esp + 0x1e8], 0
test esi, esi
je 0x5479f5
mov dword [esp + 0x24], esi
jmp 0x547a1e
lea ecx, [esp + 0x144]
call fcn.00478870
movzx ecx, ax
push ecx
call fcn.00525810
mov ecx, eax
call fcn.005259e0
mov esi, eax
test eax, eax
jne 0x547a1a
mov esi, dword [edi + 0x24]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x547a49
lea ecx, [esp + 0x144]
call fcn.004ad520
movzx edx, ax
push edx
call fcn.00525810
mov ecx, eax
call fcn.005259e0
test eax, eax
jne 0x547a49
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
test esi, esi
jne 0x547a59
test eax, eax
je 0x5487b7
mov ecx, ebx
call fcn.00514e50
test eax, eax
je 0x547b2c
lea ecx, [esp + 0xd8]
call fcn.00513f30
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.00546d90
xor esi, esi
add esp, 0x10
cmp dword [esp + 0xd8], esi
jle 0x547ace
jmp 0x547ab0
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 0x547ab0
lea ecx, [esp + 0xd8]
call fcn.00513f80
lea ecx, [esp + 0x124]
push ecx
mov ecx, ebx
call fcn.00514ff0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 2
call fcn.005163c0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 1
call fcn.005e8710
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1e8], 0
call fcn.0048f310
mov esi, dword [esp + 0x24]
xor edi, edi
test byte [esp + 0x170], 1
mov dword [esp + 0x60], edi
je 0x547b44
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x144]
call fcn.00514550
lea ecx, [esp + 0x144]
mov dword [esp + 0x5c], eax
call fcn.005145a0
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 0x547c45
mov eax, dword [esi + 8]
cmp eax, edi
je 0x547bd7
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
jmp 0x547bdb
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fdivp st(3)
fxch st(2)
fstp qword [esp + 0x104]
cmp eax, edi
je 0x547bf7
mov edx, dword [eax + 0x34]
mov dword [esp + 0x10], edx
jmp 0x547bfb
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
cmp eax, edi
je 0x547c0e
mov ecx, dword [eax + 0x20]
and ecx, 0xffff0000
jmp 0x547c10
xor ecx, ecx
test ecx, 0x10000
je 0x547c3a
cmp eax, edi
je 0x547c31
fdivr st(2)
mov eax, dword [eax + 0x38]
mov dword [esp + 0xb4], eax
fstp qword [esp + 0xf4]
jmp 0x547c47
xor eax, eax
mov dword [esp + 0xb4], eax
fdivr st(2)
fstp qword [esp + 0xf4]
jmp 0x547c47
fstp st(2)
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x547c97
mov eax, dword [eax + 8]
cmp eax, edi
je 0x547c5f
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
jmp 0x547c63
mov dword [esp + 0x10], edi
fidiv dword [esp + 0x10]
fstp qword [esp + 0x114]
cmp eax, edi
je 0x547c86
mov edx, dword [eax + 0x34]
mov dword [esp + 0x10], edx
fidiv dword [esp + 0x10]
fstp qword [esp + 0xfc]
jmp 0x547c9b
mov dword [esp + 0x10], edi
fidiv dword [esp + 0x10]
fstp qword [esp + 0xfc]
jmp 0x547c9b
fstp st(1)
fstp st(0)
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x148]
call fcn.00514430
lea ecx, [esp + 0x144]
call fcn.004762e0
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 0x547cfe
xor edi, edi
jmp 0x547d03
mov edi, 1
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x14], edi
call fcn.005145b0
push eax
lea ecx, [esp + 0xd0]
call fcn.0051f0c0
mov bl, byte [esp + 0x16f]
mov byte [esp + 0x1e8], 3
mov byte [esp + 0x16], bl
test edi, edi
je 0x547d64
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.00520630
mov al, bl
and al, 1
mov byte [esp + 0x17], al
je 0x547d7f
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0xd0]
call fcn.00520b60
and bl, 2
mov byte [esp + 0x15], bl
je 0x547d99
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xd0]
call fcn.00520bb0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xd0]
call fcn.0051f160
mov edx, dword [eax + 4]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x124], edx
call fcn.0051f160
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 0x548325
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
jmp 0x547e17
fld qword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov al, byte [ebx + edx]
cmp al, 0xa
jne 0x547e45
fstp qword [esp + 0x6c]
inc ebx
fld qword [esp + 0xbc]
fadd qword [esp + 0x3c]
fsubr qword [esp + 0xe4]
fstp qword [esp + 0xe4]
jmp 0x548319
movsx esi, al
fstp st(0)
mov ecx, esi
shr ecx, 7
not cl
and cl, 1
mov byte [esp + 0x23], cl
je 0x547f16
test edi, edi
je 0x547f09
mov ecx, edi
call fcn.00513ff0
mov ecx, edi
test eax, 0x20000
je 0x547eda
lea edx, [esp + 0xb8]
push edx
push esi
call fcn.00524230
fild dword [esp + 0x148]
mov esi, eax
inc ebx
add esi, esi
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x30], ebx
jle 0x547ec7
fimul dword [esp + 0xb8]
mov ecx, edi
fstp qword [esp + 0x4c]
call fcn.00514010
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x547ef8
fdivr qword [esp + 0x4c]
mov eax, dword [0x67e920]
fstp qword [esp + 0x4c]
fld qword [esp + 0x4c]
mov dword [esp + 0x78], eax
jmp 0x547f56
push esi
call fcn.00524250
fld qword [esp + 0x4c]
mov esi, eax
mov eax, dword [0x67e920]
add esi, esi
inc ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], eax
jmp 0x547f56
mov eax, dword [0x67e920]
fstp st(0)
fld qword [esp + 0x4c]
mov dword [esp + 0x78], eax
jmp 0x547f56
fld qword [esp + 0x4c]
inc ebx
mov dword [esp + 0x30], ebx
xor esi, esi
jmp 0x547f56
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 0x547f4d
movzx edx, word [esp + 0x34]
mov ecx, dword [esp + 0x28]
push edx
call fcn.00524250
mov esi, eax
mov eax, dword [0x67e920]
add esi, esi
mov dword [esp + 0x78], eax
jmp 0x547f4f
xor esi, esi
fld qword [esp + 0x124]
fst qword [esp + 0x134]
test esi, esi
jg 0x547f6d
fadd qword [esp + 0x10c]
jmp 0x548311
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 0x547fc4
push fcn.004ed1b0
push fcn.005eb500
push esi
lea ebx, [eax + 4]
push 0x10
push ebx
mov dword [eax], esi
call fcn.005f6257
mov dword [esp + 0x2c], ebx
jmp 0x547fcc
mov dword [esp + 0x2c], 0
xor edi, edi
cmp esi, edi
mov byte [esp + 0x1e8], 3
mov dword [esp + 0x68], edi
jle 0x5482d3
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
test byte [ebx + eax], 0x80
jne 0x5480da
test edi, edi
je 0x5480d8
mov ecx, dword [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.0055add0
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e8], 5
je 0x54804d
cmp byte [esp + 0x17], 0
je 0x548035
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x98]
call fcn.0055dad0
cmp byte [esp + 0x15], 0
je 0x54804d
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.0055dc30
cmp dword [esp + 0x10], 0
je 0x548077
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.0055cd40
cmp dword [ebp + 0x14], 0
jne 0x5480a0
cmp dword [esp + 0x60], 0
je 0x54808b
cmp dword [esp + 0x38], 0
jne 0x5480a0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
call edx
jmp 0x5480c0
mov edi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.0055f1e0
mov ecx, dword [esp + 0x1c]
push eax
push edi
call fcn.00543e90
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 3
call fcn.0055ff50
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 0x548155
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 [0x62ebc8]
test ah, 0x41
jp 0x548127
fadd st(2), st(0)
jmp 0x548129
fsub st(2), st(0)
fxch st(2)
call fcn.005f6310
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 0x5481a3
faddp st(1)
jmp 0x5481a5
fmul qword [esp + 0x114]
fadd qword [esp + 0x6c]
fldz
fcom st(1)
fnstsw ax
fld qword [0x62ebc8]
test ah, 0x41
jp 0x548175
fadd st(2), st(0)
jmp 0x548177
fsub st(2), st(0)
fxch st(2)
call fcn.005f6310
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 0x5481a3
faddp st(1)
jmp 0x5481a5
fsubrp st(1)
call fcn.005f6310
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.005808e0
test byte [ebx + 2], 8
je 0x5481d8
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], edx
jmp 0x5481df
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 0x547fe2
test edi, edi
je 0x5482d3
mov ecx, dword [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.0055add0
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e8], 6
je 0x54824c
cmp byte [esp + 0x17], 0
je 0x548234
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x98]
call fcn.0055dad0
cmp byte [esp + 0x15], 0
je 0x54824c
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
call fcn.0055dc30
cmp dword [esp + 0x10], 0
je 0x548276
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.0055cd40
cmp dword [ebp + 0x14], 0
jne 0x54829f
cmp dword [esp + 0x60], 0
je 0x54828a
cmp dword [esp + 0x38], 0
jne 0x54829f
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x94]
push eax
call edx
jmp 0x5482bf
mov esi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.0055f1e0
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.00543e90
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 3
call fcn.0055ff50
cmp dword [esp + 0x2c], 0
je 0x5482fb
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004ed1b0
push ecx
push 0x10
push eax
call fcn.005f61f4
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 0x547e10
jmp 0x548327
fstp st(0)
test byte [esp + 0x170], 2
je 0x548457
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x190]
call fcn.005161b0
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.00525bc0
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x190]
mov byte [esp + 0x1ec], 8
call fcn.005146d0
push 4
lea ecx, [esp + 0x128]
call fcn.004f32d0
push eax
lea ecx, [esp + 0x9c]
call fcn.0055acf0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 9
call fcn.004f32d0
push eax
lea ecx, [esp + 0x98]
call fcn.00560260
mov edx, dword [esp + 0x178]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x9c]
call fcn.0055ffc0
cmp dword [ebp + 0x14], 0
je 0x548404
mov esi, dword [esp + 0xa0]
push 0
lea ecx, [esp + 0x98]
call fcn.0055f1e0
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.00543e90
jmp 0x548417
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.0055ff50
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], bl
call fcn.00526510
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e8], 3
call fcn.00516510
jmp 0x5487a3
cmp dword [esp + 0x60], 0
je 0x5487a3
cmp dword [ebp + 0x14], 0
jne 0x5487a3
lea ecx, [esp + 0x134]
call fcn.00525bc0
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 0xa
call fcn.005146d0
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x190]
call fcn.0053d570
cmp dword [esp + 0x38], 0
mov byte [esp + 0x1e8], 0xb
jne 0x548502
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.0053d690
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x18c]
push edx
call eax
jmp 0x54877b
lea ecx, [esp + 0x3c]
call fcn.00513f30
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x1ec], 0xc
call fcn.00542d50
lea ecx, [esp + 0xbc]
call fcn.00513f30
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xd
call fcn.00513f30
push 1
push 0
push 0
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1f8], 0xe
call fcn.0054ae80
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
mov byte [esp + 0x1e8], 0xf
jle 0x548611
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.0054d1c0
xor esi, esi
cmp dword [esp + 0xbc], esi
jle 0x5485fa
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 0x5485d0
mov edx, dword [esp + 0xc4]
mov ecx, dword [edx + esi*4]
push ecx
mov ecx, eax
call fcn.0053f9a0
mov edi, eax
jmp 0x5485d2
xor edi, edi
mov edx, dword [esp + 0x84]
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1ec], 0xf
call fcn.005ee1f0
inc esi
mov dword [eax], edi
cmp esi, dword [esp + 0xbc]
jl 0x5485a0
lea ecx, [esp + 0xbc]
call fcn.00513f80
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x548571
lea ecx, [esp + 0x3c]
call fcn.00513f80
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x194]
call fcn.0053da00
lea ecx, [esp + 0x84]
call fcn.00513f80
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 [0x67e9e8], edi
mov dword [0x67e9ec], edi
mov dword [edx + 0xc], 1
jle 0x548725
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.0053d690
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x5486bb
add eax, 0x14
jmp 0x5486bd
xor eax, eax
push eax
lea ecx, [esp + 0x50]
call fcn.005eb0e0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x1e8], 0x11
test eax, eax
je 0x5486f8
add eax, 0xffffffec
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp eax, dword [ecx]
jne 0x5486ed
xor eax, eax
jmp 0x5486f0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
test eax, eax
jne 0x5486d7
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.004ed1b0
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x548679
lea ecx, [esp + 0x3c]
call fcn.00513f80
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 0xe
call fcn.0054afc0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xd
call fcn.0048f310
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1e8], 0xc
call fcn.0048f310
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e8], 0xb
call fcn.0048f310
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e8], 0xa
call fcn.005400d0
lea ecx, [esp + 0x134]
mov byte [esp + 0x1e8], 3
call fcn.00526510
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1e8], 0
call fcn.0051f120
lea ecx, [esp + 0x144]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.00516510
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.005f617e
mov esp, ebp
pop ebp
ret 0x10