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

Disassembly:
mov eax, 0x100d8ef5
call fcn.100ac440
sub esp, 0x2c
push ebx
push esi
push edi
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
push 2
pop esi
mov dword [ebp - 4], esi
jne 0x100359f4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov byte [ebp - 4], 1
je 0x100359ec
call fcn.1002cf1d
or esi, 0xffffffff
jmp 0x1003628f
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
call fcn.1000174b
cmp dword [ebx + 0x248], esi
mov byte [ebp - 4], 3
jne 0x10035a33
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov byte [ebp - 4], 1
je 0x1003628f
call fcn.1002cf1d
jmp 0x1003628f
and dword [ebp - 0x18], 0
push 0xe80
mov dword [ebp - 0x20], 1
call fcn.100c6c05
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x10035a5d
mov ecx, eax
call fcn.1001edcd
jmp 0x10035a5f
xor eax, eax
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.100356c5
push dword [edi + 0x40]
mov byte [ebp - 4], 5
call fcn.100ad185
mov esi, dword [ebp - 0x38]
mov dword [esi + 0x80c], eax
push dword [edi + 0x44]
call fcn.100ad185
mov dword [esi + 0x810], eax
mov eax, dword [edi + 0x7c]
mov dword [esi + 0xe54], eax
push dword [edi + 0x3c]
call fcn.100ad185
mov dword [esi + 0xe30], eax
add esp, 0xc
lea eax, [edi + 0x58]
lea ecx, [esi + 0xe58]
push eax
call fcn.10001eb6
lea eax, [edi + 0x54]
lea ecx, [esi + 0xe5c]
push eax
call fcn.10001eb6
lea eax, [ebp + 0x18]
lea ecx, [esi + 0xe60]
push eax
call fcn.10001eb6
push dword [ebp - 0x1c]
lea ecx, [esi + 0xe3c]
call fcn.10001eb6
xor eax, eax
inc eax
mov dword [esi + 0xe68], eax
cmp dword [ebx + 0x234], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
jne 0x10035b31
lea ecx, [ebx + 0x274]
call fcn.1002dcad
mov eax, dword [ebx + 0x278]
cmp dword [ebp - 0x14], eax
jne 0x10035b68
lea eax, [ebx + 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x274]
call fcn.1002dcad
mov eax, dword [ebx + 0x278]
jmp 0x10035b63
lea ecx, [ebx + 0x268]
call fcn.1002dcad
mov eax, dword [ebx + 0x26c]
cmp dword [ebp - 0x14], eax
jne 0x10035b68
lea eax, [ebx + 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x268]
call fcn.1002dcad
mov eax, dword [ebx + 0x26c]
cmp dword [ebp - 0x14], eax
je 0x10035ba9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xc], 0
jne 0x10035ba9
mov al, byte [esi + 0xe30]
and al, 1
movzx eax, al
mov dword [esi + 0xe30], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
add eax, 0x14
lea ecx, [esi + 0xe74]
push eax
call fcn.10001eb6
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esi + 0xe78], eax
mov eax, dword [edi + 0x78]
mov dword [esi + 0x814], eax
push dword [ebx + 0x88]
lea eax, [esi + 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [edi + 0x5c]
push eax
mov ecx, ebx
call fcn.1003e8e5
push dword [edi + 0x5c]
lea eax, [esi + 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 0xa4]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
je 0x10035c3f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0x10
jb 0x10035bfd
mov eax, dword [eax + 0xc]
jmp 0x10035c00
add eax, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.1000223a
lea ecx, [esi + 0xe18]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 6
call fcn.1001ed26
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001199
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [edi + 0xa4]
mov dword [ebp - 0x14], eax
jne 0x10035bef
mov ecx, dword [edi + 0xd0]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x10035ca0
jmp 0x10035c53
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0x10
jb 0x10035c5e
mov eax, dword [eax + 0xc]
jmp 0x10035c61
add eax, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.1000223a
lea ecx, [esi + 0xe24]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 7
call fcn.1001ed26
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001199
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [edi + 0xd0]
mov dword [ebp - 0x14], eax
jne 0x10035c50
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x28c]
call fcn.1002d9fc
mov eax, dword [ebx + 0x290]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x10035dd8
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x30]
call fcn.1002cf9f
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 8
je 0x10035dc6
push 0x400
lea eax, [esi + 0x40c]
push 0
push eax
call fcn.100ab720
mov eax, dword [ebp - 0x30]
add esp, 0xc
add eax, 8
lea ecx, [esi + 8]
push eax
call fcn.10001eb6
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
cmp dword [eax - 0xc], 0
je 0x10035d6e
push 4
push eax
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
jne 0x10035d6e
mov eax, dword [ebp - 0x30]
push dword [eax + 0x10]
lea eax, [esi + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
push str.psnetwork.ini
push eax
push str.ad_flash_md5
push str.playstat
call fcn.10002987
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
push str.psnetwork.ini
push eax
push str.ad_flash_fileid
push str.playstat
call fcn.10002987
jmp 0x10035d9c
mov eax, dword [ebp - 0x30]
push dword [eax + 0x1c]
call fcn.100ad185
mov dword [esi + 0xe64], eax
mov eax, dword [ebp - 0x30]
pop ecx
push dword [eax + 0xc]
lea eax, [esi + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x10035dba
push str.psnetwork.ini
push eax
push str.ad_flash_operid
push str.playstat
call fcn.10002987
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x30]
mov dword [esi + 0xe7c], eax
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov byte [ebp - 4], 5
je 0x10035de3
call fcn.1002cf1d
jmp 0x10035de3
or dword [ebx + 0x20c], 8
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x18], 0
je 0x10035e0c
mov ecx, dword [esi + 0xe64]
test ecx, ecx
jbe 0x10035e0c
mov eax, dword [ebx + 0x210]
test eax, eax
jbe 0x10035e0c
cmp ecx, eax
jbe 0x10035e0c
or dword [ebx + 0x20c], 0x10
and dword [ebp - 0x20], 0
push dword [ebx + 0x220]
or dword [ebp - 0x28], 0xffffffff
call fcn.100ad185
mov eax, dword [edi + 0x74]
cmp dword [eax - 0xc], 0
pop ecx
je 0x10035f2c
lea eax, [edi + 0x74]
push eax
lea eax, [ebp - 0x14]
lea ecx, [ebx + 0x298]
push eax
call fcn.1002dcad
mov eax, dword [ebx + 0x29c]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x10035e74
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x30]
call fcn.1002cf9f
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 9
je 0x10035f1c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], ecx
jne 0x10035f1c
jmp 0x10035eec
mov eax, dword [edi + 0x74]
push str.abcdefg
push eax
call fcn.100ace10
test eax, eax
pop ecx
pop ecx
jne 0x10035f2c
cmp dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
je 0x10035e9b
push str.new29
jmp 0x10035ea0
push str.new19
call fcn.1000223a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
lea ecx, [ebx + 0x298]
push eax
call fcn.1002dcad
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.10001199
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x29c]
je 0x10035f2c
add eax, 0x10
push eax
lea ecx, [ebp - 0x30]
call fcn.1002cf9f
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xa
je 0x10035f1c
mov eax, dword [ebp - 0x30]
add eax, 8
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x10035f1c
push eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x30]
add eax, 8
lea ecx, [ebx + 0x94]
push eax
call fcn.10001eb6
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov dword [esi], eax
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov byte [ebp - 4], 5
je 0x10035f2c
call fcn.1002cf1d
lea eax, [esi + 0xc]
push eax
call fcn.100ab7d0
test eax, eax
pop ecx
ja 0x10035fd7
mov ecx, dword [ebx + 0x29c]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
jmp 0x10035fcf
add eax, 0x10
push eax
lea ecx, [ebp - 0x30]
call fcn.1002cf9f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x14], eax
mov byte [ebp - 4], 0xb
jne 0x10035fae
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10035f76
cmp eax, dword [ecx + 0x10]
jge 0x10035fae
mov eax, dword [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x10035fae
push eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push dword [ebp - 0x14]
mov dword [esi], ecx
mov eax, dword [eax + 0x10]
lea ecx, [ebx + 0x94]
mov dword [ebp - 0x28], eax
call fcn.10001eb6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov byte [ebp - 4], 5
je 0x10035fbe
call fcn.1002cf1d
lea ecx, [ebp - 0x24]
call fcn.1002ce7e
mov ecx, dword [ebx + 0x29c]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
jne 0x10035f4e
lea eax, [esi + 0xc]
push eax
call fcn.100ab7d0
test eax, eax
pop ecx
ja 0x10036099
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
jne 0x1003600f
push str.player1_8
jmp 0x10036014
push str.player2_8
call fcn.10001f92
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x298]
call fcn.1002dcad
mov eax, dword [ebx + 0x29c]
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
je 0x1003608a
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x30]
call fcn.1002cf9f
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xd
je 0x1003607a
mov eax, dword [ebp - 0x30]
add eax, 8
push dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
push dword [ebp - 0x28]
lea ecx, [ebx + 0x94]
mov dword [esi], eax
call fcn.10001eb6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov byte [ebp - 4], 0xc
je 0x1003608a
call fcn.1002cf1d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001199
lea eax, [esi + 0xc]
push 4
push eax
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
je 0x100360b5
or dword [ebx + 0x20c], 0x20
xor ecx, ecx
jmp 0x100360b8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x248]
test eax, eax
jbe 0x100360d8
test ecx, ecx
je 0x100361eb
test dword [esi + 0xe30], 0xfffffffe
jne 0x100360d8
xor ecx, ecx
test ecx, ecx
je 0x100361eb
lea eax, [edi + 0x4c]
lea ecx, [esi + 0xe34]
push eax
call fcn.10001eb6
lea eax, [edi + 0xc]
lea ecx, [esi + 0xe38]
push eax
call fcn.10001eb6
push dword [ebp - 0x1c]
lea ecx, [esi + 0xe3c]
call fcn.10001eb6
lea eax, [edi + 0x68]
lea ecx, [esi + 0xe40]
push eax
call fcn.10001eb6
add edi, 0x6c
lea ecx, [esi + 0xe44]
push edi
call fcn.10001eb6
push 0
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.10032791
push 1
push dword [ebp - 0x1c]
inc eax
mov ecx, ebx
mov dword [esi + 0xe6c], eax
call fcn.10032791
inc eax
lea ecx, [ebx + 0x240]
lea edx, [ebp - 0x38]
mov dword [esi + 0xe70], eax
mov eax, dword [ecx + 4]
push edx
push eax
call fcn.10031700
test dword [esi + 0xe30], 0xfffffffe
jne 0x100361a9
mov ecx, dword [ebp - 0x34]
and dword [esi + 0xe68], 0
test ecx, ecx
mov byte [ebp - 4], 3
je 0x10036186
call fcn.1002cf1d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov byte [ebp - 4], 1
je 0x100361a1
call fcn.1002cf1d
push 2
pop esi
jmp 0x1003628f
cmp dword [ebx + 0x248], 1
jbe 0x100361bc
mov dword [esi + 0xe68], 2
mov eax, dword [ebp + 0x14]
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x1003621a
cmp dword [eax - 0xc], edi
jne 0x1003625c
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], edi
jne 0x1003625c
cmp dword [ebx + 0x248], edi
jbe 0x1003625c
cmp dword [ebx + 0x23c], edi
jmp 0x10036235
mov ecx, dword [ebp - 0x34]
test ecx, ecx
mov byte [ebp - 4], 3
je 0x100361fb
call fcn.1002cf1d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov byte [ebp - 4], 1
je 0x10036216
call fcn.1002cf1d
push 0xfffffffffffffffe
jmp 0x100361a3
cmp dword [eax - 0xc], edi
jne 0x1003625c
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], edi
jne 0x1003625c
cmp dword [ebx + 0x248], edi
jbe 0x1003625c
cmp dword [ebx + 0x238], edi
jne 0x1003625c
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
mov byte [ebp - 4], 3
je 0x10036247
call fcn.1002cf1d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
jmp 0x10036196
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
mov ebx, dword [ebx + 0x248]
mov byte [ebp - 4], 3
je 0x10036272
call fcn.1002cf1d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
mov byte [ebp - 4], 1
je 0x1003628d
call fcn.1002cf1d
mov esi, ebx
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14