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

Disassembly:
mov eax, 0xac
call fcn.10107170
mov eax, dword [0x102c6100]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd0]
push ebx
mov dword [esp + 0x64], eax
xor ebx, ebx
mov eax, dword [esp + 0xd8]
push ebp
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xe0]
push esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x20], eax
mov eax, esi
shr eax, 3
push edi
mov dword [esp + 0x54], ecx
xor edi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
call fcn.10177aa0
mov dword [esp + 0x2c], eax
mov ecx, 2
mov dword [esp + 0x34], ecx
test eax, eax
je 0x1019f92f
cmp dword [esp + 0xc4], esi
ja 0x1019f9a0
push 0x14b
push 0x1027dfcc
push 0x70
push 0x7e
push 0xa
call fcn.1015d200
add esp, 0x14
xor ebp, ebp
or esi, 0xffffffff
push 0x25e
push 0x1027dfcc
push ebx
call fcn.10167d80
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x5c], eax
je 0x1019f964
push 0x260
push 0x1027dfcc
push eax
call fcn.10167d80
add esp, 0xc
push ebp
call fcn.1016c460
push ebp
call fcn.1016c4d0
push dword [esp + 0x4c]
call fcn.101890c0
push dword [esp + 0x38]
call fcn.10177a80
mov ecx, dword [esp + 0xc8]
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101064d2
add esp, 0xac
ret
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1019f9cf
cmp esi, 0xa0
jne 0x1019f9b7
call fcn.10182380
jmp 0x1019f9cb
cmp esi, 0xe0
jne 0x1019f9c6
call fcn.10182390
jmp 0x1019f9cb
call fcn.101823a0
mov dword [esp + 0x18], eax
push eax
call fcn.1015e000
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], esi
cmp dword [eax + 8], ebx
je 0x1019f9f5
cmp dword [eax + 0xc], ebx
je 0x1019f9f5
cmp dword [esp + 0xd8], ebx
jl 0x1019fa55
test ebp, ebp
push 0x15e
cmove ebp, esi
push 0x1027dfcc
push ebp
mov dword [esp + 0x2c], ebp
call fcn.10167d40
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x1019fa2e
push 0x163
push 0x1027dfcc
push ebp
call fcn.10167d40
add esp, 0xc
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x1019f92f
test eax, eax
je 0x1019f92f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1019fa55
push ebp
push eax
push ebx
call fcn.1012d8a0
add esp, 0xc
call fcn.1016c6b0
mov ebp, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x1019f931
call fcn.10189110
mov dword [esp + 0x44], eax
test eax, eax
je 0x1019f931
push ebp
call fcn.1016c7a0
push ebp
call fcn.1016c560
push dword [esp + 0x18]
mov ebp, eax
call fcn.1016c560
push dword [esp + 0x1c]
mov dword [esp + 0x68], eax
call fcn.1016c560
push dword [esp + 0x20]
mov dword [esp + 0x60], eax
call fcn.1016c560
push dword [esp + 0x24]
mov dword [esp + 0x84], eax
call fcn.1016c560
push dword [esp + 0x28]
mov dword [esp + 0x58], eax
call fcn.1016c560
add esp, 0x1c
mov dword [esp + 0x14], eax
test eax, eax
je 0x1019ff3d
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1019fb13
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
test eax, eax
je 0x1019fb13
cmp dword [esp + 0xd8], edi
jl 0x1019feec
push dword [esp + 0x20]
push ebx
push dword [esp + 0x40]
call fcn.1012d8a0
add esp, 0xc
jmp 0x1019feec
mov esi, dword [esp + 0x10]
push esi
call fcn.1016c560
push esi
mov dword [esp + 0x24], eax
call fcn.1016c560
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x1019ff3d
mov eax, dword [esp + 0xc4]
dec eax
push eax
call fcn.10166a10
push eax
push dword [esp + 0x1c]
call fcn.1017ede0
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov esi, dword [esp + 0x40]
nop dword [eax]
mov edi, dword [esp + 0x20]
push dword [esp + 0x48]
push 0
push dword [esp + 0x2c]
call fcn.10189af0
inc dword [esp + 0x54]
add esp, 0xc
test eax, eax
je 0x1019ff3d
test esi, esi
jne 0x1019fb98
push edi
push ebx
call fcn.1016b740
add esp, 8
test eax, eax
jle 0x1019ff3d
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x80]
push 0
push eax
push edi
push ebx
call fcn.10177500
add esp, 0x18
test eax, eax
je 0x1019ff3d
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0x78]
mov edx, dword [esp + 0x60]
cmp ecx, edx
jle 0x1019fbd2
mov eax, ecx
sub eax, edx
add esi, eax
jmp 0x1019fbee
jge 0x1019fbee
mov eax, edx
sub eax, ecx
push eax
lea eax, [esp + 0x7c]
add eax, ecx
push 0
push eax
call fcn.1012de20
mov edx, dword [esp + 0x6c]
add esp, 0xc
push dword [esp + 0x28]
or byte [esi], 0x80
or byte [esi + edx - 1], 1
push edx
push esi
call fcn.10165fd0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x24]
mov esi, dword [esp + 0x44]
xor eax, eax
test esi, esi
setne al
push eax
push dword [esp + 0x18]
push 0x40
push dword [esp + 0x38]
call fcn.1018a0c0
add esp, 0x14
test eax, eax
jg 0x1019fc63
jne 0x1019ff3d
test esi, esi
je 0x1019fb64
push 0x1b4
push 0x1027dfcc
push 0x71
push 0x7e
push 0xa
xor esi, esi
call fcn.1015d200
mov ebp, dword [esp + 0x24]
add esp, 0x14
jmp 0x1019f934
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1019fc76
push edi
push ebx
push eax
call fcn.1012d8a0
add esp, 0xc
mov esi, dword [esp + 0x24]
push 0
push 2
push esi
call fcn.10189af0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push 0
push 3
push esi
call fcn.10189af0
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov eax, dword [esp + 0xc4]
xor edi, edi
mov ecx, dword [esp + 0x30]
xor edx, edx
shl ecx, 3
mov dword [esp + 0x50], edi
lea eax, [eax - 1]
div ecx
mov esi, eax
mov dword [esp + 0x64], esi
test edi, edi
je 0x1019fce0
push edi
push 0
push dword [esp + 0x2c]
call fcn.10189af0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push 0
push dword [esp + 0x50]
call fcn.10166960
add esp, 8
xor edi, edi
test esi, esi
js 0x1019fda8
mov ecx, dword [esp + 0x20]
xor esi, esi
lea eax, [ecx - 1]
mov dword [esp + 0x68], eax
test eax, eax
js 0x1019fd1b
nop dword [eax]
add byte [eax + ebx], 1
jne 0x1019fd1b
sub eax, 1
jns 0x1019fd10
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x80]
push 0
push eax
push ecx
push ebx
call fcn.10177500
add esp, 0x18
test eax, eax
je 0x1019ff3d
push ebp
push dword [esp + 0x34]
lea eax, [esp + 0x80]
push eax
call fcn.10165fd0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push esi
push ebp
push ebp
call fcn.1017ede0
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov eax, dword [esp + 0x4c]
push ebp
push eax
push eax
call fcn.1016c890
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov ecx, dword [esp + 0x30]
inc edi
lea eax, [ecx*8]
mov ecx, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0x68]
cmp edi, dword [esp + 0x64]
jle 0x1019fd05
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0x4c]
dec eax
push eax
push edi
call fcn.10166620
add esp, 8
test eax, eax
je 0x1019ff3d
push edi
mov edi, dword [esp + 0x70]
push edi
call fcn.101663c0
add esp, 8
test eax, eax
je 0x1019ff3d
push dword [esp + 0x14]
push edi
push edi
call fcn.1016c890
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x28]
push ebp
call fcn.1017ef50
add esp, 8
test eax, eax
je 0x1019ff3d
push dword [esp + 0x10]
push ebp
push edi
push dword [esp + 0x48]
push 0
call fcn.1018a6c0
add esp, 0x14
test eax, eax
je 0x1019ff3d
call fcn.10166a10
push eax
push dword [esp + 0x40]
push ebp
call fcn.1016c920
add esp, 0xc
test eax, eax
je 0x1019ff3d
push ebp
push edi
mov edi, dword [esp + 0x24]
push edi
call fcn.1016c920
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x14]
push edi
call fcn.101661f0
add esp, 8
test eax, eax
js 0x1019fe89
mov edi, dword [esp + 0x24]
push edi
push 1
push dword [esp + 0x18]
push 0x40
push dword [esp + 0x2c]
call fcn.1018a0c0
add esp, 0x14
test eax, eax
jg 0x1019fed3
jne 0x1019ff3d
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0xc4]
inc edi
shl eax, 2
mov dword [esp + 0x50], edi
cmp edi, eax
jl 0x1019fcc5
mov esi, dword [esp + 0x40]
test esi, esi
je 0x1019fb60
push 0x20d
push 0x1027dfcc
push 0x70
push 0x7e
push 0xa
xor esi, esi
call fcn.1015d200
mov ebp, dword [esp + 0x24]
add esp, 0x14
jmp 0x1019f934
push 1
push 2
push edi
call fcn.10189af0
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
call fcn.10166a10
push eax
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.1016c920
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 0
push ebp
call fcn.1018a6c0
add esp, 0x14
test eax, eax
je 0x1019ff3d
cmp dword [esp + 0xd8], 0
jge 0x1019ff46
push 2
push dword [esp + 0x18]
call fcn.10166960
add esp, 8
test eax, eax
jne 0x1019ff4f
mov ebp, dword [esp + 0x10]
jmp 0x1019f931
mov ecx, 1
mov dword [esp + 0x34], ecx
push dword [esp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x4c]
call fcn.10189190
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xd8]
test eax, eax
js 0x101a0031
push 0
push dword [esp + 0x1c]
mov byte [esp + 0x80], al
mov eax, ecx
push dword [esp + 0x34]
shr eax, 8
mov byte [esp + 0x85], al
mov byte [esp + 0x86], cl
call fcn.10177740
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.101778f0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push 4
push str.ggencryptodsadsa_gen.c
push dword [esp + 0x34]
call fcn.101778f0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push 3
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x34]
call fcn.101778f0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x34]
call fcn.101776a0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x14]
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.10165fd0
add esp, 0xc
test eax, eax
je 0x1019ff3d
push dword [esp + 0x44]
push dword [esp + 0x14]
push dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push dword [esp + 0x6c]
call fcn.10193b70
add esp, 0x18
test eax, eax
je 0x1019ff3d
push dword [esp + 0x58]
call fcn.101665c0
add esp, 4
test eax, eax
je 0x101a00b6
mov eax, dword [esp + 0xd8]
test eax, eax
jns 0x101a0094
call fcn.10166a10
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.1016c890
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
test eax, eax
js 0x101a0031
cmp ecx, 0xffff
jbe 0x1019ff72
mov ebp, dword [esp + 0x10]
jmp 0x1019f931
push 1
push 3
push dword [esp + 0x2c]
call fcn.10189af0
add esp, 0xc
test eax, eax
je 0x1019ff3d
mov dword [esp + 0x3c], 1
nop word [eax + eax]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 8]
cmp ebp, eax
je 0x101a0101
push eax
call fcn.101664d0
push ebp
call fcn.10166420
add esp, 8
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x28]
cmp ebp, eax
je 0x101a011e
push eax
call fcn.101664d0
push ebp
call fcn.10166420
add esp, 8
mov dword [esi + 0xc], eax
push dword [esi + 0x10]
call fcn.101664d0
push dword [esp + 0x5c]
call fcn.10166420
add esp, 8
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
je 0x1019ff3d
cmp dword [esi + 0xc], 0
je 0x1019ff3d
test eax, eax
je 0x1019ff3d
mov eax, dword [esp + 0x70]
test eax, eax
je 0x101a015b
mov dword [eax], edi
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x1019f934
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x1019f934