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

Disassembly:
mov eax, 0xc0
call fcn.10033890
mov eax, dword [0x1012f5f0]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
push ebx
push ebp
mov ebp, dword [esp + 0xe8]
push esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xf0]
push edi
xor ebx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xfc]
mov edi, esi
lea eax, [esp + 0x74]
shr edi, 3
push eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 2
call fcn.100738b0
add esp, 4
cmp dword [esp + 0xd8], esi
ja 0x10085d66
push 0x1b8
push 0x1010ffd0
push 0x70
push 0x7e
push 0xa
call fcn.1003ae70
add esp, 0x14
jmp 0x10086599
cmp dword [esp + 0x18], ebx
jne 0x10085d93
cmp esi, 0xa0
jne 0x10085d7b
call fcn.1003c6a0
jmp 0x10085d8f
cmp esi, 0xe0
jne 0x10085d8a
call fcn.1003c700
jmp 0x10085d8f
call fcn.1003c710
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10052ad0
mov ecx, dword [esp + 0x4c]
add esp, 4
cmp dword [ecx + 0xc], ebx
mov dword [esp + 0x30], eax
je 0x10085dbb
cmp dword [ecx + 0x10], ebx
je 0x10085dbb
cmp dword [esp + 0xec], ebx
jl 0x10085e34
mov esi, dword [esp + 0xe8]
cmp esi, ebx
jne 0x10085dcf
mov esi, eax
mov dword [esp + 0xe8], esi
push 0x1cb
push 0x1010ffd0
push esi
call fcn.100407f0
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x10], eax
je 0x10085df0
mov dword [esp + 0x2c], ebp
jmp 0x10085e07
push 0x1d0
push 0x1010ffd0
push esi
call fcn.100407f0
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x10], ebx
je 0x10086599
cmp dword [esp + 0x2c], ebx
je 0x10086588
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
je 0x10085e34
mov edx, dword [esp + 0x10]
push esi
push eax
push edx
call fcn.10024b20
add esp, 0xc
call fcn.1006b510
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x10086588
call fcn.10075520
test eax, eax
mov dword [esp + 0x40], eax
je 0x10086588
mov esi, dword [esp + 0x14]
push esi
call fcn.1006b5a0
push esi
call fcn.1006b630
mov ebp, eax
push esi
mov dword [esp + 0x44], ebp
call fcn.1006b630
push esi
mov dword [esp + 0x64], eax
call fcn.1006b630
push esi
mov dword [esp + 0x60], eax
call fcn.1006b630
push esi
mov dword [esp + 0x7c], eax
call fcn.1006b630
push esi
mov dword [esp + 0x78], eax
call fcn.1006b630
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xc]
add esp, 0x1c
test eax, eax
je 0x10085ee7
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x10085ee7
mov ebx, dword [esp + 0xec]
test ebx, ebx
mov esi, eax
mov dword [esp + 0x28], ecx
jl 0x100862dc
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.10024b20
add esp, 0xc
jmp 0x100862dc
push esi
call fcn.1006b630
push esi
mov dword [esp + 0x78], eax
call fcn.1006b630
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
je 0x10086588
mov eax, dword [esp + 0xd8]
add eax, 0xffffffff
push eax
call fcn.10065330
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.10066b90
add esp, 0xc
test eax, eax
je 0x10086588
lea esp, [esp]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0xe8]
push ecx
push 0
push edx
call fcn.10080ad0
add dword [esp + 0x50], 1
add esp, 0xc
test eax, eax
je 0x10086588
test ebp, ebp
jne 0x10085f7a
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.10050b70
add esp, 8
test eax, eax
jle 0x10086588
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push 0
push ecx
push 0
lea edx, [esp + 0x98]
push edx
push esi
push eax
call fcn.10073db0
add esp, 0x18
test eax, eax
je 0x10086588
cmp ebx, edi
jle 0x10085fb2
mov ecx, ebx
sub ecx, edi
lea esi, [esp + ecx + 0x8c]
jmp 0x10085fb9
lea esi, [esp + 0x8c]
cmp ebx, edi
jge 0x10085fd4
mov edx, edi
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x90]
push 0
push eax
call fcn.10027680
add esp, 0xc
mov ecx, dword [esp + 0x28]
or byte [esi], 0x80
or byte [esi + edi - 1], 1
push ecx
push edi
push esi
call fcn.10065810
add esp, 0xc
test eax, eax
je 0x10086588
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
xor edx, edx
test ebp, ebp
setne dl
push esi
push edx
push eax
push 0x40
push ecx
call fcn.10080f40
add esp, 0x14
test eax, eax
jg 0x1008604b
jne 0x10086588
test ebp, ebp
je 0x10085f38
push 0x21f
push 0x1010ffd0
push 0x71
push 0x7e
push 0xa
mov dword [esp + 0x48], 0
call fcn.1003ae70
add esp, 0x14
jmp 0x10086588
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10086069
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call fcn.10024b20
add esp, 0xc
push 0
push 2
push esi
call fcn.10080ad0
add esp, 0xc
test eax, eax
je 0x10086588
push 0
mov edx, esi
push 3
push edx
call fcn.10080ad0
add esp, 0xc
test eax, eax
je 0x10086588
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0xd8]
add esi, esi
add esi, esi
xor ecx, ecx
add esi, esi
add eax, 0xffffffff
xor edx, edx
div esi
mov dword [esp + 0x3c], ecx
mov ebx, eax
test ecx, ecx
je 0x100860d1
mov eax, dword [esp + 0x24]
push ecx
push 0
push eax
call fcn.10080ad0
add esp, 0xc
test eax, eax
je 0x10086588
mov ecx, dword [esp + 0x4c]
push 0
push ecx
call fcn.100657b0
add esp, 8
xor esi, esi
test ebx, ebx
jl 0x100861a4
mov ebp, dword [esp + 0xe8]
add ebp, 0xffffffff
xor edi, edi
mov eax, ebp
test eax, eax
jl 0x1008610b
mov ecx, dword [esp + 0x10]
add byte [eax + ecx], 1
jne 0x1008610b
sub eax, 1
jns 0x10086100
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xe8]
push 0
push edx
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x98]
push eax
push ecx
push edx
call fcn.10073db0
add esp, 0x18
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.10065810
add esp, 0xc
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x38]
push edi
push eax
push eax
call fcn.10066b90
add esp, 0xc
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x50]
push eax
push eax
call fcn.1006d0b0
add esp, 0xc
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x30]
add eax, eax
add eax, eax
add eax, eax
add esi, 1
add edi, eax
cmp esi, ebx
jle 0x100860f6
mov eax, dword [esp + 0xd8]
mov esi, dword [esp + 0x4c]
add eax, 0xffffffff
push eax
push esi
call fcn.10065cc0
add esp, 8
test eax, eax
je 0x10086588
push esi
mov esi, dword [esp + 0x68]
push esi
call fcn.10065700
add esp, 8
test eax, eax
je 0x10086588
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push esi
call fcn.1006d0b0
add esp, 0xc
test eax, eax
je 0x10086588
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
push edx
push ebp
call fcn.10066a30
add esp, 8
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x5c]
push eax
push ebp
push esi
push edi
push 0
call fcn.10076ec0
add esp, 0x14
test eax, eax
je 0x10086588
call fcn.10065330
push eax
push edi
push ebp
call fcn.1006cfe0
add esp, 0xc
test eax, eax
je 0x10086588
push ebp
push esi
mov esi, dword [esp + 0x78]
push esi
call fcn.1006cfe0
add esp, 0xc
test eax, eax
je 0x10086588
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call fcn.10065b50
add esp, 8
test eax, eax
jl 0x1008628b
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push edi
push 1
push edx
push 0x40
push esi
call fcn.10080f40
add esp, 0x14
test eax, eax
jg 0x100862c0
jne 0x10086588
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xd8]
add ecx, 1
lea edx, [eax*4]
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jl 0x100860b5
cmp dword [esp + 0x50], 0
jne 0x1008654a
mov edi, dword [esp + 0x6c]
jmp 0x10085f30
push 1
push 2
push edi
call fcn.10080ad0
add esp, 0xc
test eax, eax
je 0x10086588
mov ebx, dword [esp + 0xec]
call fcn.10065330
mov edi, dword [esp + 0x1c]
push eax
push esi
push edi
call fcn.1006cfe0
add esp, 0xc
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
push 0
push ebp
call fcn.10076ec0
add esp, 0x14
test eax, eax
je 0x10086588
test ebx, ebx
jge 0x1008632f
push 2
push edi
call fcn.100657b0
add esp, 8
test eax, eax
je 0x10086588
jmp 0x10086337
mov dword [esp + 0x20], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
push edx
push esi
push eax
call fcn.100751c0
add esp, 0xc
test eax, eax
je 0x10086588
mov edi, dword [esp + 0x54]
test ebx, ebx
jl 0x10086436
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, eax
push 0
mov byte [esp + 0x92], al
push edx
lea eax, [esp + 0x7c]
shr ecx, 8
push eax
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], cl
call fcn.10073900
add esp, 0xc
test eax, eax
je 0x10086588
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.10073ab0
add esp, 0xc
test eax, eax
je 0x10086588
push 4
lea ecx, [esp + 0x78]
push str.ggen.cryptodsadsa_gen.c
push ecx
call fcn.10073ab0
add esp, 0xc
test eax, eax
je 0x10086588
push 3
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.10073ab0
add esp, 0xc
test eax, eax
je 0x10086588
push 0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.10073ac0
add esp, 0xc
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.10065810
add esp, 0xc
test eax, eax
je 0x10086588
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push esi
push ebp
push edx
push edi
call fcn.100765b0
add esp, 0x18
test eax, eax
je 0x10086588
cmp dword [edi + 4], 1
jne 0x100864a7
mov eax, dword [edi]
cmp dword [eax], 1
jne 0x100864a7
cmp dword [edi + 0xc], 0
jne 0x100864a7
test ebx, ebx
jge 0x1008648b
call fcn.10065330
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call fcn.1006d0b0
add esp, 0xc
test eax, eax
je 0x10086588
add dword [esp + 0x20], 1
test ebx, ebx
jl 0x10086436
cmp dword [esp + 0x20], 0xffff
jbe 0x10086356
jmp 0x10086588
mov ecx, dword [esp + 0x24]
push 1
push 3
push ecx
call fcn.10080ad0
add esp, 0xc
test eax, eax
je 0x10086588
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
cmp esi, eax
mov dword [esp + 0x34], 1
je 0x100864ec
test eax, eax
je 0x100864e0
push eax
call fcn.10065510
add esp, 4
push esi
call fcn.10066030
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x28]
cmp esi, eax
je 0x10086510
test eax, eax
je 0x10086504
push eax
call fcn.10065510
add esp, 4
push esi
call fcn.10066030
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10086520
push eax
call fcn.10065510
add esp, 4
mov edx, dword [esp + 0x54]
push edx
call fcn.10066030
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
je 0x10086540
cmp dword [edi + 0x10], 0
je 0x10086540
test eax, eax
jne 0x1008656c
mov dword [esp + 0x34], 0xffffffff
jmp 0x10086588
push 0x278
push 0x1010ffd0
push 0x70
push 0x7e
push 0xa
mov dword [esp + 0x48], 0
call fcn.1003ae70
add esp, 0x14
jmp 0x10086588
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1008657a
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10086588
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10086599
push eax
call fcn.100409f0
add esp, 4
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x58], eax
je 0x100865ac
push eax
call fcn.100409f0
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100865c3
push esi
call fcn.1006b5f0
push esi
call fcn.1006b570
add esp, 8
mov eax, dword [esp + 0x40]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x100865d8
push eax
call fcn.10075180
add esp, 4
lea eax, [esp + 0x64]
push eax
call fcn.10073b40
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x28]
add esp, 4
xor ecx, esp
call fcn.1001d3e9
add esp, 0xc0
ret