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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f4f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
test edi, edi
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
mov dword [ebx + 0x398], ecx
je 0x55712c
lea esi, [ebx + 0x3a4]
call fcn.004c0370
lea edi, [esp + 0x1c]
call fcn.00559a50
mov edi, dword [esp + 0x18]
push 0
mov dword [esp + 0x174], 0
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
push 5
push ecx
push eax
mov dword [edi + 0x2c8], eax
mov dword [edi + 0x2cc], ecx
call fcn.005c05d0
mov ebx, eax
mov esi, edx
push 0
push 0x4c4b40
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
call fcn.004b2860
add esp, 8
cmp edx, esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
jg 0x557194
jl 0x55718e
cmp eax, ebx
jae 0x557194
lea eax, [esp + 0x44]
jmp 0x557198
lea eax, [esp + 0x64]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x2c0], edx
mov dword [edi + 0x2c4], eax
mov dword [esp + 0x64], 0
call fcn.005d95d0
mov ebx, dword [edi + 0x298]
lea esi, [esp + 0x2c]
mov dword [esp + 0x68], eax
call fcn.004b28c0
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [edi + 0x2c8]
mov ecx, dword [edi + 0x2cc]
add eax, edx
adc ecx, esi
mov dword [esp + 0x48], ecx
lea ecx, [edi + 0x2a0]
mov dword [esp + 0x44], eax
push ecx
lea eax, [ebx + 0x14]
lea ecx, [esp + 0x68]
lea ebx, [esp + 0x48]
call fcn.004f1650
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub esp, 8
mov eax, esp
xor ebx, ebx
cmp ecx, ebx
mov dword [eax], edx
mov dword [esp + 0x34], esp
mov dword [eax + 4], ecx
je 0x557227
mov eax, ecx
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
movzx edx, byte [0x65b26e]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0055a0a0
mov byte [esp + 0x180], 1
mov esi, dword [eax]
mov edx, dword [edi + 0x298]
add esp, 4
mov ecx, esp
mov dword [ecx], esi
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x38], esp
mov dword [ecx + 8], eax
je 0x557270
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
add edx, 0x14
add edi, 0x2a0
push edx
call fcn.0055cba0
mov byte [esp + 0x170], bl
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x5572a3
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x5572a3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, dword [esp + 0x18]
lea edi, [esi + 0x158]
mov byte [esi + 0x2e1], bl
call fcn.00590570
mov edi, dword [esi + 0x2c]
cmp dword [esi + 0x28], edi
lea ebx, [esi + 0x24]
jbe 0x5572c8
call fcn.005b8b18
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
jbe 0x5572dd
call fcn.005b8b18
mov eax, dword [esp + 0x28]
push edi
push ebx
push eax
push ebx
lea eax, [esp + 0x54]
push eax
call fcn.004b9160
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [esi + 0x424], ecx
xor edx, edx
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, fcn.00489120
mov dword [esi + 0x144], edx
je 0x5573fb
mov edi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x30]
cmp edi, edx
mov ecx, fcn.00558c30
mov dword [esp + 0x3c], esp
mov dword [eax + 4], edi
je 0x557343
lea eax, [edi + 4]
mov ebx, 1
lock xadd dword [eax], ebx
push edx
push ecx
push 0
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.00559ee0
add esp, 0x24
mov byte [esp + 0x170], 2
mov edx, dword [esi + 0x148]
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, eax
call fcn.0055a040
mov byte [esp + 0x170], 0
mov eax, dword [esp + 0x90]
test eax, eax
je 0x5573b1
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5573b1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5573b1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
test edi, edi
mov dword [esp + 0x170], 0xffffffff
je 0x557b76
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x557b76
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x557b76
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
jmp 0x557b76
lea ecx, [esi + 0x38]
mov dword [esp + 0x28], ecx
call fcn.005643a0
test al, al
je 0x5574f6
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
lea ecx, [esi + 0x2e4]
jb 0x55742b
mov eax, dword [eax + 4]
jmp 0x55742e
add eax, 4
push edx
push eax
mov eax, dword [ecx + 0x14]
xor ebx, ebx
call fcn.00437100
test eax, eax
jne 0x5574f6
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x18], edi
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x300]
jb 0x557459
mov eax, dword [eax + 4]
jmp 0x55745c
add eax, 4
push edx
push eax
mov eax, dword [ecx + 0x14]
xor ebx, ebx
call fcn.00437100
test eax, eax
mov edi, dword [esp + 0x24]
jne 0x5574fa
mov al, byte [esi + 0x404]
cmp al, byte [ebp + 0x18]
jne 0x5574fa
lea edx, [esi + 0x408]
mov ecx, edi
call fcn.004a8aa0
test al, al
je 0x5574fa
sub esp, 8
lea ecx, [esp + 0x24]
mov eax, esp
mov edi, 0x558e90
mov dword [esp + 0x34], esp
call fcn.0051bbd0
movzx ecx, byte [0x65b26e]
push ebx
push edi
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0055a1f0
mov edi, eax
lea ecx, [esi + 8]
lea eax, [esp + 0x5c]
mov byte [esp + 0x188], 3
call fcn.0055a1d0
push eax
mov eax, dword [esp + 0x44]
push eax
mov ecx, edi
call fcn.0055a310
add esp, 0x20
lea eax, [esp + 0x64]
mov byte [esp + 0x170], bl
call fcn.00558890
jmp 0x557b62
mov edi, dword [esp + 0x24]
mov cl, byte [ebp + 0x18]
mov byte [esi + 0x404], cl
mov edx, dword [edi]
mov dword [esi + 0x408], edx
mov eax, dword [edi + 4]
lea ebx, [esi + 0x408]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [ebx + 0x18], edx
mov dword [esp + 0x44], 0
call fcn.005d95d0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
call fcn.005643a0
test al, al
je 0x557560
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x44]
call fcn.005644e0
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x17], 0
jb 0x55757a
add eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [eax]
jmp 0x557581
add eax, 4
mov dword [esp + 0x24], eax
push 0x2e
push eax
call fcn.005bd540
add esp, 8
test eax, eax
je 0x55769d
mov esi, eax
mov edi, str..i2p
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x18]
jne 0x55769d
xor edx, edx
cmp dword [esp + 0x40], edx
je 0x55769f
mov edi, dword [esp + 0x40]
push edx
mov dword [esi + 0x140], edi
mov ecx, dword [esi + 0x2cc]
mov edx, dword [esi + 0x2c8]
push 4
push ecx
push edx
mov byte [esp + 0x27], 1
call fcn.005c0590
push 0
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x2cc], edx
mov eax, dword [esi + 0x2c4]
mov ecx, dword [esi + 0x2c0]
push 4
push eax
push ecx
call fcn.005c0590
mov dword [esi + 0x2c0], eax
mov dword [esi + 0x2c4], edx
cmp dword [edi + 0x60], 6
je 0x55769d
mov esi, fcn.00558c30
xor edi, edi
call fcn.00489480
mov edx, dword [esp + 0x1c]
push eax
mov ecx, 0xa0
push ecx
mov ecx, dword [esp + 0x28]
sub esp, 8
test ecx, ecx
mov eax, esp
mov dword [eax], edx
mov dword [esp + 0x3c], esp
mov dword [eax + 4], ecx
je 0x557651
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
push edi
push esi
push 0
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.00559ee0
add esp, 0x24
mov edx, dword [esp + 0x18]
mov byte [esp + 0x170], 4
mov ecx, dword [edx + 0x148]
mov ecx, dword [ecx + 0xc]
push ecx
mov ecx, eax
call fcn.0055a040
lea eax, [esp + 0x84]
mov byte [esp + 0x170], 0
call fcn.00558890
jmp 0x557b62
xor edx, edx
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x38]
je 0x5576b1
mov eax, dword [esp + 0x40]
add eax, 8
cmp eax, edx
je 0x5576ca
mov ecx, dword [eax + 0x58]
cmp ecx, 4
je 0x5576c2
cmp ecx, 5
jne 0x5576ca
cmp byte [ebp + 0x18], 0
jne 0x5576ca
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], edx
mov byte [esp + 0xa8], 0
mov dword [esp + 0xc0], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xd8], edx
mov byte [esp + 0xc8], 0
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xf4], edx
mov byte [esp + 0xe4], 0
mov dword [esp + 0xfc], edx
mov byte [esp + 0x100], 1
mov byte [esp + 0x101], 1
cmp eax, edx
mov byte [esp + 0x170], 5
mov ecx, eax
jne 0x557744
lea ecx, [esp + 0xa4]
mov eax, dword [esp + 0x28]
xor edi, edi
push edi
push edi
call fcn.00566c90
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
add esp, 8
lea eax, [esp + 0x64]
mov ecx, ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x7c], edi
call fcn.004a87e0
test al, al
je 0x557872
mov dword [esp + 0x64], edi
call fcn.005d95d0
cmp dword [ebx], edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 2
je 0x5577ad
mov dword [esp + 0x2c], 0x17
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x2c]
push eax
call fcn.00564460
xor ecx, ecx
mov edi, ebx
lea esi, [esp + 0x84]
call fcn.004a8fa0
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x64]
push eax
mov ecx, esi
push ecx
call fcn.005647c0
mov eax, dword [esp + 0x64]
mov edx, eax
neg edx
sbb edx, edx
test edx, fcn.00489120
je 0x55786e
mov esi, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x30]
xor edx, edx
test esi, esi
mov ecx, fcn.00558c30
mov dword [esp + 0x3c], esp
mov dword [eax + 4], esi
je 0x557822
add esi, 4
mov eax, 1
lock xadd dword [esi], eax
push edx
push ecx
push 0
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.00559ee0
add esp, 0x24
mov edx, dword [esp + 0x18]
mov byte [esp + 0x170], 6
mov ecx, dword [edx + 0x148]
mov ecx, dword [ecx + 0xc]
push ecx
mov ecx, eax
call fcn.0055a040
lea eax, [esp + 0x84]
mov byte [esp + 0x170], 5
call fcn.00558890
jmp 0x557b56
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov edx, eax
neg edx
sbb edx, edx
test edx, fcn.00489120
je 0x5578e3
mov edi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x30]
xor edx, edx
test edi, edi
mov ecx, fcn.00558c30
mov dword [esp + 0x3c], esp
mov dword [eax + 4], edi
je 0x5578b7
add edi, 4
mov eax, 1
lock xadd dword [edi], eax
push edx
push ecx
push 0
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.00559ee0
add esp, 0x24
mov byte [esp + 0x170], 7
mov edx, dword [esi + 0x148]
mov ecx, dword [edx + 0xc]
jmp 0x55784d
cmp byte [esp + 0x17], 0
je 0x557985
mov ecx, dword [esp + 0x1c]
sub esp, 0x20
mov dword [esp + 0x4c], esp
mov edi, esp
sub esp, 0x10
mov dword [esp + 0x68], esp
mov dword [esp + 0x5c], esp
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
xor ebx, ebx
test ecx, ecx
mov edx, 0x558220
mov dword [esp + 0x70], esp
mov dword [eax + 4], ecx
je 0x55792f
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
movzx ecx, byte [0x65b26a]
mov eax, dword [esp + 0x64]
push ebx
push edx
movzx edx, byte [0x65b26e]
push ecx
push edx
push eax
call fcn.0055aa00
add esp, 0x1c
call fcn.0055a400
mov ecx, dword [esp + 0x54]
cmp dword [ecx + 0x18], 0x10
jb 0x557972
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
mov ecx, dword [edx]
push eax
call fcn.0052eee0
jmp 0x557b2e
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
push eax
call fcn.0052eee0
jmp 0x557b2e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x557a3d
cmp byte [eax + 0x5c], 0
je 0x557a3d
mov eax, dword [eax + 0x58]
cmp eax, 2
je 0x5579ac
cmp eax, 3
jne 0x557a3d
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x2e4]
call fcn.0040b390
mov edi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x300]
call fcn.0040b390
cmp dword [edi + 0x18], 0x10
jb 0x5579df
mov edi, dword [edi + 4]
jmp 0x5579e2
add edi, 4
xor eax, eax
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.005b90b3
movzx ecx, ax
add esp, 4
lea edi, [esp + 0x44]
lea esi, [esp + 0x84]
call fcn.004a8fa0
mov esi, dword [esp + 0x18]
lea ebx, [esi + 0x354]
lea eax, [esp + 0x84]
call fcn.00559b70
push esi
call fcn.005586b0
jmp 0x557b2e
add esi, 0x354
call fcn.00559ba0
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
lea esi, [esp + 0x104]
call fcn.004ef470
sub esp, 8
mov bl, 8
mov byte [esp + 0x178], bl
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
xor esi, esi
test ecx, ecx
mov edx, 0x558420
mov dword [esp + 0x34], esp
mov dword [eax + 4], ecx
je 0x557a92
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
movzx ecx, byte [0x65b26a]
push esi
push edx
movzx edx, byte [0x65b26e]
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0055aa00
mov edx, dword [esp + 0x34]
mov byte [esp + 0x18c], 9
mov edi, dword [eax]
mov esi, dword [edx + 0x148]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x3c], esp
mov dword [ecx + 0xc], eax
je 0x557aef
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea eax, [esp + 0x114]
push eax
add edx, 0x14c
push edx
lea ecx, [esi + 0x14]
call fcn.0055cd30
lea eax, [esp + 0x44]
mov byte [esp + 0x170], bl
call fcn.00558890
lea esi, [esp + 0x104]
mov byte [esp + 0x170], 5
call fcn.004dc530
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x2e4]
call fcn.0040b390
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [esi + 0x300]
call fcn.0040b390
lea esi, [esp + 0xa4]
call fcn.004bcfc0
lea eax, [esp + 0x1c]
mov dword [esp + 0x170], 0xffffffff
call fcn.00565750
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 0x24