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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xdc]
xor edx, edx
xor ebx, ebx
cmp eax, ebx
setne dl
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add edx, 2
mov dword [esp + 0x2c], edx
lea esp, [esp]
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.0055cd38
add esp, 0x10
cmp eax, ebx
jne 0x576be7
mov edx, dword [esi + 0x24]
push edx
lea ecx, [esp + 0x9c]
call fcn.0057e528
mov edi, dword [esi + 0x24]
push edi
lea ecx, [esp + 0xbc]
call fcn.0057e528
mov ebp, dword [edi + 8]
mov edi, dword [edi + 0xc]
lea ecx, [esp + 0xb8]
call fcn.0057e518
cmp ebp, ebx
mov eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
jne 0x576853
cmp edi, ebx
je 0x576bd6
jmp 0x576853
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x30], eax
call fcn.00574d58
mov esi, dword [eax + 8]
cmp esi, ebx
mov edi, dword [eax + 0xc]
jne 0x576883
cmp edi, ebx
je 0x576a8e
push edi
push esi
call fcn.00570368
push edi
push esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call fcn.00570368
push edi
push esi
mov ebp, eax
call fcn.00570388
push ebp
call dword [0x10082090]
cmp dword [esp + 0x4c], ebx
jne 0x5768b5
cmp dword [esp + 0x50], ebx
je 0x576927
mov esi, dword [esp + 0x44]
push esi
call dword [0x10082078]
test eax, eax
jne 0x576927
cmp dword [esi + 0x30], ebx
jne 0x5768ce
cmp dword [esi + 0x34], ebx
je 0x5768ef
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov ecx, dword [esi + 0x34]
jne 0x5768dc
cmp ecx, ebx
je 0x5768e9
push ecx
push eax
call fcn.00570348
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
cmp dword [esi + 0x40], ebx
jne 0x5768f9
cmp dword [esi + 0x44], ebx
je 0x57691a
mov eax, dword [esi + 0x40]
cmp eax, ebx
mov ecx, dword [esi + 0x44]
jne 0x576907
cmp ecx, ebx
je 0x576914
push ecx
push eax
call fcn.00570348
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00570348
mov edi, dword [esp + 0x10]
lea esi, [ebp + 0x18]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
cmp dword [esi], ebx
je 0x576a9d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x24]
push edx
push eax
call fcn.00574968
mov ecx, dword [esp + 0xdc]
cmp ecx, dword [esi]
je 0x576c07
lea edx, [esp + 0x40]
push edx
push esi
lea ecx, [edi + 0x60]
call fcn.00575378
test eax, eax
je 0x576b42
cmp dword [0x100c3710], ebx
mov edi, dword [esp + 0x40]
je 0x5769fa
mov eax, dword [esi]
push 0x1008df50
push eax
push 0x1008df38
push edi
lea ecx, [esp + 0x70]
call fcn.0055f4b8
push eax
push 0x1008df2c
lea ecx, [esp + 0xa0]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005732f8
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005721d8
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x8c]
call fcn.00572078
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x5769fa
push eax
call fcn.00577f28
add esp, 4
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
push edi
call dword [0x1008209c]
cmp dword [0x100c3710], ebx
je 0x576b42
mov ecx, dword [esi]
push 0x1008df20
push ecx
push 0x1008df38
push edi
lea ecx, [esp + 0x80]
call fcn.0055f4b8
push eax
push 0x1008df2c
lea ecx, [esp + 0x94]
call fcn.00573238
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005732f8
mov ecx, eax
call fcn.00572168
mov ecx, eax
call fcn.005721d8
mov ecx, eax
call fcn.00572168
lea ecx, [esp + 0x80]
call fcn.00572078
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x576b42
push eax
call fcn.00577f28
add esp, 4
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
jmp 0x576b42
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
xor ebp, ebp
jmp 0x5768a9
mov edx, dword [edi + 0x5c]
test edx, edx
jne 0x576b38
mov eax, dword [edi + 0x58]
push eax
call dword [0x1008209c]
push 0x18
call fcn.0055bc48
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x576b34
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x1008dddc
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [0x1008211c]
mov dword [esi + 0x14], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea edi, [esi + 0x10]
push edi
push ebx
push esi
push 0x1001baf0
push ebx
push ebx
call dword [0x100821f8]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
mov dword [esp + 0x24], esi
call ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
push edi
add ecx, 0xa8
call fcn.00584dd8
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
jmp 0x576b42
xor esi, esi
jmp 0x576aec
mov ecx, dword [edi + 0x58]
push ecx
call dword [0x1008209c]
cmp dword [esp + 0x38], ebx
jne 0x576b4e
cmp dword [esp + 0x3c], ebx
je 0x576bbc
push ebp
call dword [0x10082078]
test eax, eax
jne 0x576bbc
cmp dword [ebp + 0x30], ebx
jne 0x576b63
cmp dword [ebp + 0x34], ebx
je 0x576b84
mov eax, dword [ebp + 0x30]
cmp eax, ebx
mov ecx, dword [ebp + 0x34]
jne 0x576b71
cmp ecx, ebx
je 0x576b7e
push ecx
push eax
call fcn.00570348
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
cmp dword [ebp + 0x40], ebx
jne 0x576b8e
cmp dword [ebp + 0x44], ebx
je 0x576baf
mov eax, dword [ebp + 0x40]
cmp eax, ebx
mov ecx, dword [ebp + 0x44]
jne 0x576b9c
cmp ecx, ebx
je 0x576ba9
push ecx
push eax
call fcn.00570348
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00570348
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x57684f
cmp dword [esp + 0x1c], ebx
jne 0x57684f
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x98]
call fcn.0057e518
jmp 0x5767e8
cmp eax, 1
je 0x576c50
cmp eax, 2
jne 0x5767e8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc8
ret 8
cmp dword [esp + 0x38], ebx
jne 0x576c13
cmp dword [esp + 0x3c], ebx
je 0x576c32
push ebp
call dword [0x10082078]
test eax, eax
jne 0x576c32
mov ecx, ebp
call fcn.005742e8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00570348
lea ecx, [esp + 0x98]
call fcn.0057e518
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc8
ret 8
lea edi, [esi + 0xa8]
mov ecx, edi
call fcn.00566a18
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x576cad
lea ecx, [ecx]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00575b78
mov esi, dword [eax]
cmp esi, ebx
je 0x576c82
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
cmp dword [esi + 0xc], ebx
je 0x576c9f
mov eax, dword [esi + 0x14]
push eax
call dword [0x1008209c]
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push ecx
call fcn.0055ccc8
add esp, 8
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
cmp dword [esp + 0x14], ebx
jne 0x576c68
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc8
ret 8