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

Disassembly:
push 0xffffffffffffffff
push 0x52d2d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [ebx + 0x64], 0x587970
mov eax, dword [0x58ada8]
push edi
mov ecx, 0x58ada8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [0x58ada8]
xor edi, edi
mov ecx, 0x58ada8
mov dword [esp + 0xa0], edi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0xb0]
cmp esi, edi
mov byte [esp + 0xa0], 1
mov dword [esp + 0x10], edi
jne 0x459335
xor eax, eax
jmp 0x45933e
push esi
call fcn.004bb3e1
add esp, 4
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.004046c0
lea esp, [esp]
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], edi
jle 0x459386
push 0x20
push esi
call fcn.004bd07e
add esp, 8
cmp eax, edi
je 0x459386
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x459386
push 0x542148
push 0x536d88
lea ecx, [esp + 0x24]
call fcn.004427e0
jmp 0x459350
lea ecx, [esp + 0x1c]
call fcn.004591e0
lea eax, [esp + 0x10]
push eax
push 0x536e88
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00459110
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 2
call fcn.0040f010
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4593df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
push 0x542148
push edi
call fcn.004bd169
add esp, 8
test eax, eax
je 0x4594c2
lea esp, [esp]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x459410
push edi
lea ecx, [ebx + 0x68]
call fcn.0042d2f0
lea eax, [esp + 0x10]
push eax
push 0x536e88
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
call fcn.00459110
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0xa0], 3
je 0x459486
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x459474
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x459474
push eax
call fcn.00404780
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45946b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x459482
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004046c0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xa0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4594ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x542148
push edi
call fcn.004bd169
add esp, 8
test eax, eax
jne 0x459400
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
push 0x458880
push 4
push eax
push ecx
call fcn.004bba70
lea eax, [esp + 0x4c]
push eax
call fcn.004cb210
mov eax, dword [ebx + 0x6c]
xor esi, esi
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], esi
jbe 0x45974a
lea ebp, [ebx + 0x78]
mov dword [esp + 0x20], 2
mov dword [esp + 0x14], 0x78
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jb 0x459522
lea ecx, [edi + 1]
push ecx
mov ecx, ebp
call fcn.004587c0
test al, al
je 0x45980e
mov eax, dword [ebp]
imul edi, edi, 0x3c
add edi, eax
je 0x45953c
mov ecx, 0xf
mov esi, 0x5733e0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
inc dword [ebp + 4]
cmp esi, dword [ebx + 0x6c]
jae 0x459818
mov eax, dword [ebx + 0x68]
mov edx, dword [ebp + 4]
lea ecx, [esi*4]
add eax, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
add ecx, 0xfffffffe
cmp ecx, edx
jae 0x459818
mov edx, dword [esp + 0x14]
mov edi, dword [ebp]
add edx, 0xffffff88
add edi, edx
mov dword [edi], eax
cmp ecx, dword [ebp + 4]
jae 0x459818
mov eax, dword [ebp]
add eax, edx
lea edi, [esi + 0x65000000]
mov dword [eax + 4], edi
cmp ecx, dword [ebp + 4]
jae 0x459818
mov eax, dword [ebp]
add eax, edx
lea ecx, [esi + esi*2]
shl ecx, 2
add word [eax + 0x20], cx
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
mov dword [esp + 0x24], ecx
jb 0x4595c4
lea edx, [edi + 1]
push edx
mov ecx, ebp
call fcn.004587c0
test al, al
je 0x45980e
mov eax, dword [ebp]
imul edi, edi, 0x3c
add edi, eax
je 0x4595de
mov ecx, 0xf
mov esi, 0x57341c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
inc dword [ebp + 4]
cmp esi, dword [ebx + 0x6c]
jae 0x459818
mov eax, dword [ebx + 0x68]
mov edx, dword [ebp + 4]
lea ecx, [esi*4]
add eax, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
dec ecx
cmp ecx, edx
jae 0x459818
mov edx, dword [esp + 0x14]
mov edi, dword [ebp]
add edx, 0xffffffc4
add edi, edx
mov dword [edi], eax
cmp ecx, dword [ebp + 4]
jae 0x459818
mov eax, dword [ebp]
add eax, edx
lea edi, [esi + 0x65000000]
mov dword [eax + 4], edi
cmp ecx, dword [ebp + 4]
jae 0x459818
mov eax, dword [ebp]
mov cx, word [esp + 0x24]
add word [eax + edx + 0x20], cx
mov edi, dword [ebp + 4]
add eax, edx
cmp edi, dword [ebp + 8]
jb 0x459660
lea edx, [edi + 1]
push edx
mov ecx, ebp
call fcn.004587c0
test al, al
je 0x45980e
mov eax, dword [ebp]
imul edi, edi, 0x3c
add edi, eax
je 0x45967a
mov ecx, 0xf
mov esi, 0x573458
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
inc ecx
mov dword [ebp + 4], ecx
cmp esi, dword [ebx + 0x6c]
jae 0x459818
mov eax, dword [ebx + 0x68]
mov edi, dword [esp + 0x20]
lea edx, [esi*4]
add eax, edx
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, ecx
cmp edi, eax
jae 0x459818
mov ecx, dword [ebp]
add ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
cmp edi, dword [ebp + 4]
jae 0x459818
mov eax, dword [ebp]
add eax, dword [esp + 0x14]
lea ecx, [esi + 0x65000000]
mov dword [eax + 4], ecx
cmp edi, dword [ebp + 4]
jae 0x459818
mov eax, dword [ebp]
add eax, dword [esp + 0x14]
mov cx, word [esp + 0x24]
add word [eax + 0x20], cx
cmp esi, dword [ebx + 0x6c]
jae 0x459818
mov eax, dword [ebx + 0x68]
add eax, edx
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp esi, dword [ebx + 0x6c]
jae 0x459818
mov eax, dword [ebx + 0x68]
add eax, edx
mov eax, dword [eax]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
call fcn.004cae30
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x6c]
add esp, 0xc
inc esi
mov ecx, edi
add edx, 0xb4
add ecx, 3
cmp esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
jb 0x459507
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004cb0d0
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0xb4]
add esp, 8
push 0
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
mov dword [esp + 0x40], 0x94659465
call fcn.0043d640
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea eax, [edi - 0x10]
mov byte [esp + 0xa0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4597c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4597f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x98]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0xc
push 0x8007000e
call fcn.00401780
push 0x80070057
call fcn.00401780
int3