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

Disassembly:
push 0xffffffffffffffff
push 0x575e86
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx]
xor ebx, ebx
add eax, 0xc
mov ebp, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
jmp 0x545e50
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x10]
add eax, 0xc
cmp ebp, ebx
je 0x545e62
cmp ebp, eax
je 0x545e68
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x54631f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
cmp ebp, ebx
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x545e84
call ebx
cmp edi, dword [ebp + 4]
jne 0x545e8b
call ebx
mov esi, dword [edi + 0x14]
cmp esi, dword [edi + 0x18]
jbe 0x545e95
call ebx
mov dword [esp + 0x34], esi
lea esp, [esp]
cmp edi, dword [ebp + 4]
jne 0x545ea7
call ebx
mov ebx, dword [esp + 0x2c]
add ebx, 0xc
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 8], edi
lea esi, [ebx + 4]
jbe 0x545ebf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
add eax, 0x10
cmp eax, esi
je 0x545ed0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x34], edi
je 0x546251
mov eax, dword [esp + 0x7c]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x545ef0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x7c]
mov edi, esi
mov esi, dword [eax + 8]
cmp dword [eax + 4], esi
mov dword [esp + 0x3c], edi
jbe 0x545f04
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, esi
je 0x546223
mov eax, dword [esp + 0x7c]
cmp edi, dword [eax + 8]
jb 0x545f1b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [edi + 0x18], 0x10
jb 0x545f26
mov ecx, dword [edi + 4]
jmp 0x545f29
lea ecx, [edi + 4]
lea edx, [esp + 0x20]
push edx
call fcn.00441ee0
mov ebp, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0x10
cmp ebp, dword [eax + 8]
jb 0x545f4b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x546315
mov eax, dword [esi]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x545f86
test dx, dx
je 0x545f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x545f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x545f60
xor eax, eax
jmp 0x545f8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x545fb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x545fcf
mov ecx, dword [esp + 0x7c]
cmp edi, dword [ecx + 8]
jb 0x545fc3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x7c]
add edi, 0x70
jmp 0x545ef2
mov esi, dword [esp + 0x7c]
cmp edi, dword [esi + 8]
jb 0x545fde
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x2c]
add edi, 0x10
cmp ebp, dword [edi + 8]
jb 0x545ff0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x54]
cmp eax, dword [ebp + 8]
je 0x546223
cmp ebp, dword [edi + 8]
mov ebx, 1
mov dword [esp + 0x14], ebx
jb 0x546014
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esi + 8]
jb 0x546027
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x64]
je 0x54604b
cmp eax, dword [esi + 8]
mov dword [esp + 0x18], ebx
jb 0x546042
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x64], ebx
jne 0x54604b
mov dword [esp + 0x1c], ebx
cmp ebp, dword [edi + 8]
jb 0x54605a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esi + 8]
jb 0x546065
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00546580
mov esi, eax
mov dword [esp + 0x70], 0
cmp ebp, dword [edi + 8]
jb 0x54608c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov edi, dword [ebp]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x5460df
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x5460d2
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x5460d2
call fcn.00410660
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x5460c7
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x34]
add ebp, 0x10
mov dword [ecx], ebp
jmp 0x5460df
mov ebx, dword [ecx - 0xc]
mov eax, dword [esp + 0x34]
push ecx
call fcn.00410570
mov ebp, dword [esp + 0x34]
mov ecx, dword [esi + 4]
mov edi, dword [ebp + 4]
add ebp, 4
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x54613b
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x546130
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x546130
call fcn.00410660
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x546124
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x54613b
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, ebp
call fcn.00410570
mov edx, dword [esi + 8]
mov ebp, dword [esp + 0x34]
mov dword [ebp + 8], edx
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [ebp + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [ebp + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [ebp + 0x20], edx
mov esi, dword [esi + 0x24]
mov edi, dword [ebp + 0x24]
add ebp, 0x24
lea eax, [esi - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x5461bb
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x5461b0
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x5461b0
call fcn.00410660
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x5461a8
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add esi, 0x10
mov dword [ebp], esi
jmp 0x5461bb
mov ebx, dword [esi - 0xc]
push esi
mov eax, ebp
call fcn.00410570
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5461e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x546203
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x546223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add eax, 0x10
cmp ecx, dword [eax + 8]
jb 0x546239
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [esp + 0x34], 0x28
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x545ea0
mov edi, 1
cmp dword [esp + 0x18], edi
jne 0x546293
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
push edx
jne 0x546270
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00410660
mov ecx, dword [esp + 0x80]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00546430
cmp dword [esp + 0x14], edi
jne 0x5462fd
mov edx, dword [esp + 0x2c]
cmp edx, dword [ebp + 4]
jne 0x5462a8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 4]
jne 0x5462b7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test byte [0x619d18], 1
jne 0x5462e4
or dword [0x619d18], edi
mov dword [esp + 0x70], edi
call fcn.00544640
push 0x580fd0
call fcn.0056a011
add esp, 4
mov dword [esp + 0x70], 0xffffffff
lea ecx, [ebx + 4]
push ecx
push ecx
push ebx
mov ecx, 0x619d28
call fcn.00546890
add esp, 4
push eax
call fcn.00546980
lea esi, [esp + 0x28]
call fcn.00536bc0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x545e50
push 0x80004005
call fcn.0040fcd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8