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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov al, byte [ebp + 0x67]
test al, al
mov dword [esp + 0x18], ebp
je 0x54920e
mov eax, 0x113
push 0x104
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x94]
xor edi, edi
push 0x6d1c50
push eax
mov dword [esp + 0x3c], 0x33
mov dword [esp + 0x44], 0x8a
mov dword [esp + 0x48], 0x285
mov dword [esp + 0x4c], 0x294
mov byte [esp + 0x9c], 0
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edi
call fcn.0062fff0
mov ebx, 1
add esp, 0xc
mov byte [esp + 0x193], 0
mov dword [esp + 0x194], 0x84
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 3
jmp 0x548e92
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [ebx + 0x3e7]
lea ecx, [esi - 0x384]
push ecx
mov ecx, ebp
call fcn.00542b50
push esi
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.00542bb0
mov edx, dword [0x74e6a0]
mov ebp, dword [edx + 0x1c]
mov esi, eax
xor eax, eax
mov al, byte [ebp + 0x1f]
add ebp, 0xc
push eax
push ebx
call fcn.0054e180
mov ecx, dword [0x74e6a0]
mov ecx, dword [ecx + 0x20]
add esp, 8
push 0x6d1416
push ebx
mov dword [esp + 0x34], eax
call fcn.00546870
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
cmp ebx, eax
je 0x54909a
mov edi, dword [ebx + 8]
movzx edx, byte [edi + 0x2d]
cmp edx, dword [esp + 0x2c]
je 0x548f0c
mov ebx, dword [ebx]
cmp ebx, eax
jne 0x548ef4
jmp 0x549096
mov dword [esp + 0x194], 0x21
movzx eax, word [edi + 0x24]
test eax, eax
mov dword [esp + 0x198], eax
jle 0x548f2b
cmp eax, 0x1d
jl 0x548f36
mov dword [esp + 0x198], 1
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + eax + 0x38]
mov edx, dword [esp + eax + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x9c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x70], 0x3f800000
call fcn.00542a00
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x74e6a0]
mov ecx, dword [ecx + 0x20]
lea edx, [edi + 4]
push edx
push eax
call fcn.00546870
cmp byte [edi + 0x2e], 4
jne 0x549096
lea edx, [esp + 0x68]
push 0x6e7b48
push edx
call fcn.00630960
mov eax, dword [esi]
add esp, 8
push 0xff4ae91d
mov ecx, esi
mov byte [esp + 0x93], 0
call dword [eax + 0x9c]
push 2
mov ecx, esi
call fcn.00602770
mov ecx, dword [0x74e914]
mov eax, dword [esi + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0xb4]
mov edi, eax
lea eax, [esp + 0x68]
push eax
call fcn.0062f7d0
imul edi, eax
add esp, 4
push 0x20
lea ecx, [edi + 2]
push ecx
mov ecx, esi
call fcn.00601540
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call dword [edx + 0x64]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x54902c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x73cf3c]
mov edx, dword [eax + 0x73cf38]
push ecx
push edx
mov ecx, esi
call fcn.00601520
jmp 0x549096
cmp eax, 2
jne 0x5490d7
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x73cf3c]
mov ecx, dword [ecx + 0x73cf38]
push eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov ecx, esi
call fcn.00601520
mov ecx, dword [esp + 0x18]
push 0
push 0xc8
call fcn.005ecd60
test eax, eax
mov dword [esp + 0x28], eax
je 0x549096
push 0x230
push 0x14c
mov ecx, eax
call fcn.00601520
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push 0
call dword [edx + 0x54]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
mov edi, dword [esp + 0x14]
cmp ebx, dword [ebp + 8]
jne 0x5491e6
mov ecx, dword [ebp + 0x18]
xor esi, esi
test ecx, ecx
je 0x549184
mov eax, dword [ebp + 0x1c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x549184
mov edx, dword [ebp + 0x18]
mov ebx, dword [esp + 0x2c]
lea eax, [edx + esi*4]
mov eax, dword [eax]
movzx edx, byte [eax + 3]
cmp edx, ebx
je 0x5490f9
inc esi
jmp 0x5490a8
cmp eax, 3
jne 0x549096
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x73cf3c]
mov eax, dword [eax + 0x73cf38]
push edx
sub eax, edi
push eax
mov ecx, esi
call fcn.00601520
jmp 0x549096
mov cl, byte [eax + 4]
test cl, cl
mov dword [esp + 0x194], 0x84
jne 0x549144
mov ecx, dword [esp + edi + 0x34]
mov edx, dword [esp + edi + 0x30]
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x1a8], 0x2a
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
push ecx
jmp 0x54917b
mov eax, dword [esp + edi + 0x34]
mov ecx, dword [esp + edi + 0x30]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x1a8], 0x28
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x5c], 0x3f800000
push eax
mov ecx, dword [esp + 0x2c]
call fcn.00542a00
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x54918f
xor ebp, ebp
jmp 0x549197
mov ebp, dword [ebp + 0x1c]
sub ebp, eax
sar ebp, 2
cmp esi, ebp
jne 0x5491e6
mov edx, dword [esp + edi + 0x34]
mov eax, dword [esp + edi + 0x30]
lea ecx, [esp + 0x60]
push ecx
push edx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov dword [esp + 0x1ac], 0x28
mov dword [esp + 0x1a8], 0x84
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
call fcn.00542a00
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc edx
add edi, 8
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
jne 0x548e8a
mov ecx, dword [esp + 0x18]
call fcn.005487c0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret