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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x548c00
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x54928e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x6c]
call fcn.00547604
cmp byte [ebx + 0x60], 0
jne 0x548c48
mov eax, dword [ebx + 0x6c]
call fcn.0041aefc
test eax, eax
jne 0x548c3f
mov dl, 2
mov eax, ebx
call fcn.00549e08
jmp 0x548c48
mov dl, 1
mov eax, ebx
call fcn.00549e08
mov eax, dword [ebx + 0x6c]
call fcn.0041aefc
mov esi, eax
dec esi
test esi, esi
jl 0x548d25
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.005476fc
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xc]
call fcn.004044f8
cmp dword [ebp - 0xc], 0
je 0x548d1d
cmp byte [ebx + 0x60], 1
jne 0x548ce1
push 0
mov eax, 0x5492a4
mov dword [ebp - 0x28], eax
mov eax, 0x5492b4
mov dword [ebp - 0x24], eax
mov eax, 0x5492c4
mov dword [ebp - 0x20], eax
mov eax, 0x5492d4
mov dword [ebp - 0x1c], eax
mov eax, 0x5492e4
mov dword [ebp - 0x18], eax
mov eax, 0x549300
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x28]
mov ecx, 5
mov eax, dword [ebp - 0xc]
call fcn.0046ce78
inc eax
jne 0x548d1d
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.005476fc
add eax, 0x10
mov edx, 0x5492d4
call fcn.004044b4
jmp 0x548d1d
push 0
mov eax, 0x549314
mov dword [ebp - 0x30], eax
mov eax, 0x549320
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.0046ce78
inc eax
jne 0x548d1d
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.005476fc
add eax, 0x10
mov edx, 0x549314
call fcn.004044b4
inc edi
dec esi
jne 0x548c5e
mov eax, dword [ebx + 0x6c]
call fcn.0041aefc
test eax, eax
jle 0x548d6c
cmp dword [ebx + 0x48], 0
je 0x548d6c
push 0
mov eax, 0x5492a4
mov dword [ebp - 0x3c], eax
mov eax, 0x5492b4
mov dword [ebp - 0x38], eax
mov eax, 0x5492c4
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, dword [ebx + 0x48]
call fcn.0046ce78
inc eax
jne 0x548d6c
lea eax, [ebx + 0x48]
call fcn.00404460
cmp byte [ebx + 0x60], 1
jne 0x548e01
mov eax, dword [ebx + 0x70]
call fcn.00548558
lea edx, [ebp - 0x10]
mov eax, dword [0x540d58]
call fcn.00540f0c
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x70]
call fcn.005487f8
mov eax, dword [ebx + 0x44]
call fcn.00404730
test eax, eax
jne 0x548df4
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x2c], 1
jle 0x548dd2
cmp dword [eax + 0x20], 0
jle 0x548dc3
lea eax, [ebx + 0x44]
mov edx, 0x54932c
call fcn.004044b4
jmp 0x548df4
lea eax, [ebx + 0x44]
mov edx, 0x549344
call fcn.004044b4
jmp 0x548df4
cmp dword [eax + 0x20], 0
jle 0x548de7
lea eax, [ebx + 0x44]
mov edx, 0x54932c
call fcn.004044b4
jmp 0x548df4
lea eax, [ebx + 0x44]
mov edx, 0x549364
call fcn.004044b4
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [ebp - 4]
lea edx, [ebp - 5]
mov eax, ebx
call fcn.00549e60
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebx + 0x60], 1
jne 0x548e38
mov eax, dword [ebx + 0x6c]
call fcn.0041aefc
dec eax
jne 0x548e38
mov eax, ebx
call fcn.00548b54
test al, al
jne 0x548e3c
xor eax, eax
jmp 0x548e3e
mov al, 1
mov byte [ebx + 0xc6], al
mov esi, dword [ebx + 0xc0]
push 1
push 0
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov eax, dword [ebx + 0x64]
call fcn.0053e360
mov ecx, dword [ebp - 0x40]
mov edx, 0x549378
mov eax, esi
call fcn.004887b0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov cl, byte [ebp - 5]
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.0053e930
mov ecx, dword [ebp - 0x44]
mov edx, 0x549388
mov eax, esi
call fcn.004887b0
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov eax, dword [ebx + 0x98]
call fcn.0053e360
mov ecx, dword [ebp - 0x48]
mov edx, 0x549398
mov eax, esi
call fcn.004887b0
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov eax, dword [ebx + 0x40]
call fcn.0053e360
mov ecx, dword [ebp - 0x4c]
mov edx, 0x5493a4
mov eax, esi
call fcn.004887b0
cmp byte [ebx + 0xc5], 0
jne 0x548f06
xor ecx, ecx
mov edx, 0x5493b0
mov eax, esi
call fcn.004887b0
jmp 0x548f2d
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov eax, dword [ebx + 0x34]
call fcn.0053e360
mov ecx, dword [ebp - 0x50]
mov edx, 0x5493b0
mov eax, esi
call fcn.004887b0
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x78]
call fcn.0041b7ac
mov ecx, dword [ebp - 0x54]
mov edx, 0x5493bc
mov eax, esi
call fcn.004887b0
cmp byte [ebx + 0x60], 1
jne 0x549062
cmp byte [ebx + 0xc6], 0
je 0x548f9a
mov ecx, 0x5493d0
mov edx, 0x5493dc
mov eax, esi
call fcn.004887b0
xor ecx, ecx
mov edx, 0x5493f4
mov eax, esi
call fcn.004887b0
xor ecx, ecx
mov edx, 0x54940c
mov eax, esi
call fcn.004887b0
xor ecx, ecx
mov edx, 0x549430
mov eax, esi
call fcn.004887b0
jmp 0x549080
mov ecx, dword [ebx + 0x44]
mov edx, 0x5493f4
mov eax, esi
call fcn.004887b0
cmp dword [ebx + 0x3c], 0
jbe 0x548ff9
lea ecx, [ebp - 0x5c]
mov edx, 0x5493f4
mov eax, esi
call fcn.004885c4
push dword [ebp - 0x5c]
push 0x54944c
push 0x549458
push 0x549464
push 0x549470
push dword [ebx + 0x3c]
push 0x549484
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.004047f0
mov ecx, dword [ebp - 0x58]
mov edx, 0x5493f4
mov eax, esi
call fcn.004887b0
mov eax, dword [ebx + 0x6c]
call fcn.0041aefc
test eax, eax
jle 0x549040
lea ecx, [ebp - 0x64]
mov edx, 0x5493f4
mov eax, esi
call fcn.004885c4
push dword [ebp - 0x64]
push 0x549490
push dword [ebp - 0x10]
push 0x549484
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.004047f0
mov ecx, dword [ebp - 0x60]
mov edx, 0x5493f4
mov eax, esi
call fcn.004887b0
mov ecx, 0x5493d0
mov edx, 0x5493dc
mov eax, esi
call fcn.004887b0
mov ecx, dword [ebx + 0x48]
mov edx, 0x54940c
mov eax, esi
call fcn.004887b0
jmp 0x549080
mov ecx, dword [ebx + 0x48]
mov edx, 0x54940c
mov eax, esi
call fcn.004887b0
mov ecx, dword [ebx + 0x44]
mov edx, 0x5493f4
mov eax, esi
call fcn.004887b0
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0xa8]
call fcn.0053b82c
mov ecx, dword [ebp - 0x68]
mov edx, 0x5494a8
mov eax, esi
call fcn.004887b0
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov eax, dword [ebx + 0xa4]
call fcn.0053e360
mov ecx, dword [ebp - 0x6c]
mov edx, 0x5494b8
mov eax, esi
call fcn.004887b0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x70]
push eax
mov cl, byte [ebp - 5]
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0053e930
mov ecx, dword [ebp - 0x70]
mov edx, 0x5494cc
mov eax, esi
call fcn.004887b0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 5]
mov eax, dword [ebx + 0x94]
call fcn.0053dbe8
mov ecx, dword [ebp - 0x74]
mov edx, 0x5494e4
mov eax, esi
call fcn.004887b0
mov ecx, dword [ebx + 0x9c]
mov edx, 0x549508
mov eax, esi
call fcn.004887b0
mov eax, ebx
call fcn.00549da0
test al, al
je 0x549160
call fcn.0040b8f8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.0046e71c
mov ecx, dword [ebp - 0x78]
mov edx, 0x54951c
mov eax, esi
call fcn.004887b0
jmp 0x54917f
push dword [ebx + 0x54]
push dword [ebx + 0x50]
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.0046e71c
mov ecx, dword [ebp - 0x7c]
mov edx, 0x54951c
mov eax, esi
call fcn.004887b0
cmp byte [ebx + 0x8c], 2
je 0x5491aa
lea edx, [ebp - 0x80]
xor eax, eax
mov al, byte [ebx + 0x8c]
inc eax
call fcn.00409170
mov ecx, dword [ebp - 0x80]
mov edx, 0x54952c
mov eax, esi
call fcn.004887b0
jmp 0x5491cf
mov edx, 0x54952c
mov eax, esi
call fcn.0048872c
test eax, eax
jl 0x5491cf
mov edx, 0x54952c
mov eax, esi
call fcn.0048872c
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5491e5
mov edx, dword [ebx + 0x5c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.00549f00
cmp dword [ebp - 0x84], 0
jne 0x54923c
lea ecx, [ebp - 0x88]
mov edx, 0x549540
mov eax, esi
call fcn.004885c4
cmp dword [ebp - 0x88], 0
je 0x54925b
lea ecx, [ebp - 0x8c]
mov edx, 0x549540
mov eax, esi
call fcn.004885c4
mov ecx, dword [ebp - 0x8c]
mov edx, 0x549554
mov eax, esi
call fcn.004887b0
jmp 0x54925b
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.00549f00
mov ecx, dword [ebp - 0x90]
mov edx, 0x549554
mov eax, esi
call fcn.004887b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549295
lea eax, [ebp - 0x90]
mov edx, 0x15
call fcn.00404484
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404484
lea eax, [ebp - 4]
call fcn.00404460
ret