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

Disassembly:
push 0xffffffffffffffff
push 0x547417
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
call fcn.00433880
xor ebx, ebx
mov ebp, eax
mov dword [esp + 0x20], ebx
call fcn.004d9210
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp ebp, ebx
mov dword [esp + 0x64], ebx
jle 0x45492d
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + ebp + 8]
and edi, 0xfffffff8
lea esi, [esp + 0x20]
call fcn.004d4980
mov dword [esp + 0x30], ebx
call fcn.004d9210
mov edx, 1
lock xadd dword [eax], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004d86b0
mov ecx, 1
lock xadd dword [eax], ecx
test ebp, ebp
jle 0x454974
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + ebp + 8]
and edi, 0xfffffff8
lea esi, [esp + 0x30]
call fcn.004d4980
mov ebx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jle 0x454a1f
mov ecx, dword [esp + 0x70]
call fcn.00433890
lea edi, [ebx + 1]
cmp edi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
jle 0x4549fb
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + edi + 8]
and esi, 0xfffffff8
cmp dword [esp + 0x38], esi
je 0x4549fb
test esi, esi
jle 0x4549e2
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4549cb
lea edx, [esi*4]
push edx
call fcn.0051ef12
mov dword [esp + 0x34], eax
jmp 0x4549f4
lea ecx, [esi*4]
push ecx
push eax
call fcn.0051f11a
add esp, 8
mov dword [esp + 0x30], eax
jmp 0x4549f7
mov edx, dword [esp + 0x30]
push edx
call fcn.0051ee35
mov dword [esp + 0x34], 0
add esp, 4
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, ebx
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x18]
inc eax
cmp eax, ebp
mov ebx, edi
mov dword [esp + 0x18], eax
jl 0x454982
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x74]
call fcn.00422b40
xor ebx, ebx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x454b2f
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x78]
mov ecx, ebx
call fcn.00422b50
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x44]
mov byte [esp + 0x64], 2
call fcn.00454770
mov esi, eax
test esi, esi
je 0x454b1b
lea eax, [esp + 0x44]
lea ecx, [esp + 0x1c]
call fcn.004543c0
push eax
lea edi, [esp + 0x34]
call fcn.004543e0
add esp, 4
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.0041add0
test ebp, ebp
jne 0x454a9c
mov edx, dword [esp + 0x70]
lea edi, [esp + 0x44]
mov ecx, esi
call fcn.00454470
mov ebp, eax
mov edi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x28]
jle 0x454b06
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + edi + 8]
and esi, 0xfffffff8
cmp dword [esp + 0x28], esi
je 0x454b06
mov eax, dword [esp + 0x20]
test esi, esi
jle 0x454af1
test eax, eax
jne 0x454ada
lea ecx, [esi*4]
push ecx
call fcn.0051ef12
mov dword [esp + 0x24], eax
jmp 0x454aff
lea edx, [esi*4]
push edx
push eax
call fcn.0051f11a
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x454b02
push eax
call fcn.0051ee35
mov dword [esp + 0x24], 0
add esp, 4
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], edi
test eax, eax
je 0x454b1b
mov dword [eax], ebp
lea eax, [esp + 0x44]
call fcn.00422960
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x454a36
lea esi, [esp + 0x30]
mov byte [esp + 0x64], 4
call fcn.004d4c30
call fcn.004d86b0
or edx, 0xffffffff
lock xadd dword [eax], edx
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x30]
push eax
call fcn.0051ee35
add esp, 4
call fcn.004d9210
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
test esi, esi
jle 0x454b95
mov eax, dword [edi + esi*4 - 4]
push 0
call fcn.00432940
add esi, 0xfffffffe
js 0x454b95
mov edx, dword [edi + esi*4 + 4]
mov eax, dword [edi + esi*4]
push edx
call fcn.00432a10
sub esi, 1
jns 0x454b83
push edi
call fcn.0051ee35
add esp, 4
call fcn.004d9210
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0xc