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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100783e8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100926a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
xor eax, eax
mov edi, edx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x4c], al
mov dword [ebp - 4], eax
mov esi, dword [0x100e86a4]
add esi, 0x1e8
mov dword [edi + 0x3c], eax
mov edx, dword [0x100e86a4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x88], edx
cmp dword [esi], eax
je 0x10056491
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
lea ebx, [esi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10056491
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x19c], 0
je 0x10056491
mov esi, ecx
add esi, 0x20
push esi
lea ecx, [ebp - 0x4c]
call fcn.1000a270
add esp, 4
test eax, eax
je 0x1005648e
cmp dword [ebp - 0x3c], 0
je 0x1005648e
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x19c]
add eax, 0x18c
mov ebx, 0x10
cmp dword [eax + 0x14], ebx
jb 0x100563a3
mov eax, dword [eax]
push ecx
push eax
push 0x100e9268
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x1005648e
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], ebx
jae 0x100563c5
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push edx
push eax
push esi
xor eax, eax
call fcn.1000cf70
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x30]
push 0x10081280
add ebx, 0x170
push eax
call fcn.100134b0
mov ebx, dword [eax + 0x10]
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x100563fa
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.1000eff0
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.10002570
cmp dword [ebp - 0x74], 0xffffffff
je 0x1005648e
cmp ebx, 0xffffffff
je 0x1005648e
cmp dword [ebp - 0x74], ebx
jae 0x1005648e
lea ecx, [edi + 0x5c]
push ecx
mov edx, 0x10084fc0
call fcn.100025a0
lea ebx, [edi + 4]
push ebx
mov edx, 0x10084fd0
call fcn.100025a0
push 0
push esi
or eax, 0xffffffff
mov esi, ebx
call fcn.1000ed10
push ebx
mov eax, 0x10084fe0
call fcn.1000ce20
push 0
lea edx, [ebp - 0x4c]
push edx
or eax, 0xffffffff
call fcn.1000ed10
mov ecx, dword [ebp - 0x70]
mov eax, 1
mov dword [edi + 0x78], 3
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x88], eax
mov dword [ecx + 0x318], eax
jmp 0x10056ab8
mov esi, dword [ebp - 0x6c]
cmp dword [esi + 0x14], 0
je 0x10056600
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x1c]
sub edx, dword [ecx + 0x18]
add ecx, 0x18
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10056600
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x4c]
push edx
lea esi, [eax + 0x20]
push esi
lea ebx, [eax + 0xac]
push ebx
push ecx
call fcn.1004b7d0
test eax, eax
je 0x10056600
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x4c]
push eax
push esi
push ebx
add ecx, 0x28
push ecx
call fcn.1004b7d0
test eax, eax
jne 0x10056600
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x250]
push eax
mov eax, dword [ebp - 0x80]
push eax
lea edi, [ebp - 0x5c]
call fcn.100160e0
mov edi, dword [ebp - 0x50]
push edi
mov esi, eax
xor eax, eax
lea ecx, [ebp - 0x28]
push str._d
push ecx
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call fcn.1005cf22
add esp, 0xc
test esi, esi
je 0x10056563
test edi, edi
je 0x10056563
mov edx, dword [ebp - 0x6c]
add edx, 0x38
push 0
push edx
lea edx, [ebp - 0x28]
call fcn.1000d020
cmp eax, 0xffffffff
jne 0x100565fd
mov ebx, dword [ebp - 0x7c]
push 0xc
push 0x10084898
lea ecx, [ebx + 0x5c]
call fcn.10002780
mov eax, dword [0x100e86a4]
cmp dword [eax + 0x440], 0
lea ecx, [ebp - 0x68]
je 0x10056596
push 0x10085004
call fcn.10002510
mov byte [ebp - 4], 1
jmp 0x100565a4
push 0x10085020
call fcn.10002510
mov byte [ebp - 4], 2
mov edi, eax
lea esi, [ebx + 4]
call fcn.10002610
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.10002570
mov edx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x7c]
xor ecx, ecx
mov eax, 1
mov dword [ebx + 0x7c], ecx
mov dword [ebx + 0x78], 3
mov dword [ebx + 0x80], eax
mov edx, dword [edx]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x8c], 0xc8
mov dword [ecx + 0x318], eax
jmp 0x10056ab8
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x6c]
cmp dword [esi + 0x54], 0
mov ebx, dword [ebp - 0x70]
je 0x10056742
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebx + 0xac]
push ecx
lea edx, [esi + 0x58]
push edx
call fcn.1004b7d0
test eax, eax
je 0x10056742
push 0
call fcn.100601a2
add esp, 4
mov dword [ebp - 0x84], eax
or eax, edx
mov dword [ebp - 0x80], edx
jne 0x1005664c
mov dword [ebp - 0x74], eax
jmp 0x10056677
lea eax, [ebp - 0x84]
push eax
call fcn.1005ff94
add esp, 4
test eax, eax
jne 0x10056664
mov dword [ebp - 0x74], eax
jmp 0x10056677
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, ecx
shl edx, 4
sub edx, ecx
lea ecx, [eax + edx*4]
mov dword [ebp - 0x74], ecx
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
sub eax, edx
sar eax, 3
xor ecx, ecx
test eax, eax
je 0x100566a5
mov esi, dword [ebp - 0x74]
jmp 0x10056690
cmp dword [edx], esi
ja 0x1005669d
cmp esi, dword [edx + 4]
jbe 0x1005673f
inc ecx
add edx, 8
cmp ecx, eax
jb 0x10056690
push 8
push 0x100848a8
lea ecx, [edi + 0x40]
call fcn.10002780
push 0xc
push 0x10085034
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0x17
xor ebx, ebx
push 0x10085044
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002780
lea esi, [edi + 4]
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10002610
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], 0x10
jb 0x10056705
mov edx, dword [ebp - 0x30]
push edx
call fcn.1005ccdb
add esp, 4
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x7c]
mov ecx, 1
mov dword [eax + 0x80], ecx
mov edx, dword [edx]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x88], ebx
mov dword [eax + 0x78], 3
mov dword [eax + 0x7c], ebx
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x318], ecx
jmp 0x10056ab8
mov esi, dword [ebp - 0x6c]
cmp dword [esi + 0x78], 0
je 0x1005680c
cmp dword [ebx + 0x2f0], 0
je 0x100568ad
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0xffffffffffffffff
push 0
lea edx, [ebx + 0x2e0]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.10002690
lea eax, [ebp - 0x30]
push eax
call fcn.10009df0
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.1001c120
add esp, 4
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0xffffffffffffffff
push 0
lea edx, [ebx + 4]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.10002690
lea esi, [ebp - 0x68]
call fcn.10003800
add esp, 0x1c
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.100131c0
cmp dword [ebp - 0x54], 0x10
mov byte [ebp - 0x75], al
jb 0x100567e9
mov eax, dword [ebp - 0x68]
push eax
call fcn.1005ccdb
add esp, 4
cmp byte [ebp - 0x75], 0
mov byte [ebp - 4], 0
je 0x1005689b
cmp dword [ebp - 0x1c], 0x10
jb 0x10056809
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1005ccdb
add esp, 4
mov esi, dword [ebp - 0x6c]
cmp dword [esi + 0xc0], 0
je 0x10056a1c
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebx + 0x20]
push eax
lea eax, [ebx + 0xac]
push eax
lea ecx, [esi + 0xec]
push ecx
call fcn.1004b7d0
test eax, eax
jne 0x10056a1c
cmp dword [esi + 0xe8], eax
jne 0x10056874
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0xffffffffffffffff
push eax
lea edx, [ebx + 0x3c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], eax
push edx
mov byte [ecx], al
call fcn.10002690
call fcn.10003b10
add esp, 0x1c
test eax, eax
jne 0x10056a1c
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebx + 0x180], eax
jne 0x100569d9
cmp dword [esi + 0xc8], eax
je 0x10056a0f
mov eax, 1
jmp 0x10056a0f
cmp dword [ebp - 0x1c], 0x10
jb 0x100568ad
mov edx, dword [ebp - 0x30]
push edx
call fcn.1005ccdb
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebx + 0x20]
push eax
mov eax, dword [ebp - 0x6c]
lea edx, [ebx + 0xac]
push edx
add eax, 0xb0
push eax
call fcn.1004b7d0
test eax, eax
jne 0x10056809
cmp dword [ebx + 0x2f0], eax
je 0x100568fd
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebx + 0x2e0]
push eax
push eax
add edx, 0xa0
push edx
call fcn.1004b7d0
test eax, eax
jne 0x10056809
mov eax, dword [ebx + 0x180]
test eax, eax
jne 0x1005691a
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x98], eax
je 0x10056809
test eax, eax
je 0x1005694a
cmp dword [ebx + 0x1a0], 0x10
mov ecx, dword [ebx + 0x19c]
lea eax, [ebx + 0x18c]
jb 0x10056931
mov eax, dword [eax]
mov edx, dword [ebp - 0x6c]
push ecx
push eax
add edx, 0x7c
push edx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x10056809
cmp dword [ebx + 0x2f0], 0
jne 0x10056963
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x9c], 0
jne 0x10056809
push 0xc
push 0x1008505c
lea ecx, [edi + 0x5c]
call fcn.10002780
push 0xe
lea esi, [edi + 4]
push 0x10084fd0
mov ecx, esi
call fcn.10002780
push 0
lea eax, [ebx + 0x20]
push eax
or eax, 0xffffffff
call fcn.1000ed10
push 0x18
mov eax, 0x1008506c
mov ecx, esi
call fcn.1000cd00
cmp dword [ebx + 0x2f0], 0
je 0x100569c4
push esi
mov eax, 0x10085088
call fcn.1000ce20
push 0
lea ecx, [ebx + 0x2e0]
push ecx
or eax, 0xffffffff
call fcn.1000ed10
xor eax, eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov eax, 1
jmp 0x10056aa2
cmp dword [ebx + 0x1a0], 0x10
mov ecx, dword [ebx + 0x19c]
lea eax, [ebx + 0x18c]
jb 0x100569f0
mov eax, dword [eax]
push ecx
push eax
lea eax, [esi + 0xcc]
push eax
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x10056a0c
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x74]
cmp dword [esi + 0xc4], 0
je 0x10056a57
test eax, eax
je 0x10056a5b
cmp dword [ebp - 0x38], 0x10
mov dword [edi], 0
jb 0x10056a34
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1005ccdb
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005cccc
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x10056a1c
lea ecx, [edi + 0x5c]
push ecx
mov edx, 0x10085098
call fcn.100025a0
lea esi, [edi + 4]
push esi
mov edx, 0x10084fd0
call fcn.100025a0
push 0
lea eax, [ebx + 0x20]
push eax
or eax, 0xffffffff
call fcn.1000ed10
push esi
mov eax, 0x100850a8
call fcn.1000ce20
mov eax, 1
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], eax
mov dword [edi + 0x78], 3
mov dword [edi + 0x3c], eax
mov dword [edi + 0x88], eax
mov dword [ebx + 0x318], eax
push 8
push 0x100848a8
lea ecx, [edi + 0x40]
call fcn.10002780
mov esi, dword [ebp - 0x70]
cmp dword [esi], 0
je 0x10056b1f
push 1
push 0x10081334
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10002780
add esi, 0x218
push esi
push 0x10094d78
lea ecx, [ebp - 0x30]
mov edx, str.invade
mov byte [ebp - 4], 6
call fcn.1004ef30
cmp dword [ebp - 0x1c], 0x10
jb 0x10056b1f
mov edx, dword [ebp - 0x30]
push edx
call fcn.1005ccdb
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [edi], 2
jb 0x10056a34
mov eax, dword [ebp - 0x4c]
push eax
jmp 0x10056a2c