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

Disassembly:
sub esp, 0xd4
mov eax, dword [0x10088064]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
mov ebx, edx
push esi
mov esi, dword [esp + 0xe4]
push edi
cmp byte [ebx + 0x28], 0
mov edi, ecx
jne 0x10028b29
lea ecx, [esp + 0x38]
call fcn.1002e160
mov ecx, dword [ebx]
test ecx, ecx
je 0x10028b55
lea edx, [esp + 0x38]
call fcn.10035910
test eax, eax
jns 0x10028b55
mov ecx, dword [ebx]
lea edx, [ebx + 0xc]
test edx, edx
je 0x10028b29
mov eax, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 4], eax
add edi, 8
je 0x10028b39
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
or eax, 0xffffffff
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005c833
add esp, 0xd4
ret
push 3
push 0
push 0x40
lea edx, [esp + 0x44]
mov ecx, ebx
call fcn.1002f150
add esp, 0xc
test edx, edx
jl 0x10028b29
jg 0x10028b73
test eax, eax
jb 0x10028b29
mov ecx, dword [esp + 0x38]
mov eax, ecx
and eax, 0x40
or eax, 0
jne 0x10028b97
mov ebp, dword [esp + 0x3c]
or ecx, 0x40
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
mov word [esp + 0x6c], ax
jmp 0x10028b9c
mov ax, word [esp + 0x6c]
mov ebp, dword [esp + 0x54]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
cmp edx, 0xffffffff
je 0x10028bbd
cmp edx, 0xfffffffe
jne 0x10028bca
test ax, ax
je 0x10028bca
movzx edx, ax
mov dword [esi + 0x10], edx
jmp 0x10028c0b
test edx, edx
jne 0x10028bfe
mov eax, ecx
and eax, 4
or eax, edx
je 0x10028bfe
mov edx, dword [esp + 0x28]
or ecx, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
jmp 0x10028c1b
and ecx, 0xfffffff7
xor ebp, ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, ecx
and eax, 0x80
or eax, 0
jne 0x10028c3a
or ecx, 0x80
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ecx
mov word [esp + 0x6e], ax
mov eax, ecx
mov dword [esp + 0x2c], 0x100
and eax, 4
or eax, 0
jne 0x10028c69
or ebp, 0xffffffff
mov dword [esp + 0x2c], 0x500
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov ebp, 0x500
jmp 0x10028ce9
mov ebp, dword [esp + 0x28]
and ecx, 8
or ecx, 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], eax
jne 0x10028cce
cmp edx, 0xffffffff
je 0x10028c9b
cmp edx, 0xfffffffe
je 0x10028c9b
movzx eax, dx
mov ecx, eax
test ax, ax
jne 0x10028ca0
mov edx, dword [esp + 0x24]
mov eax, ebp
jmp 0x10028cba
mov ecx, 8
movzx ecx, cx
mov dl, 1
call fcn.1002ffa0
test eax, eax
je 0x10028cc3
push dword [esp + 0x24]
mov eax, dword [eax]
push ebp
call eax
add esp, 8
test edx, edx
jne 0x10028cc3
cmp eax, 0xffffffff
jbe 0x10028ce4
mov ebp, 0x500
mov dword [esp + 0x2c], ebp
jmp 0x10028ce9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov ebp, 0x100
mov ecx, dword [edi]
cmp dword [ecx + 0x24], 1
jne 0x100293f7
push 0xd
push 0
push 0
xor edx, edx
call fcn.1002f150
mov ecx, edx
mov dword [esp + 0x88], eax
add esp, 0xc
mov dword [esp + 0x78], ecx
test ecx, ecx
jg 0x10028d24
jl 0x10029616
test eax, eax
jb 0x10029616
mov eax, 0xfff7
mov edx, esi
and word [esi + 0xc], ax
mov ecx, edi
push ebp
call fcn.100333a0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
js 0x10028b39
mov edx, dword [esi + 0x10]
cmp edx, 0xffffffff
je 0x10028d55
mov eax, edx
cmp edx, 0xfffffffe
jne 0x10028d5a
mov eax, 8
mov cx, word [esp + 0x6c]
movzx eax, ax
cmp cx, ax
setne byte [esp + 0x13]
je 0x10028d75
test cx, cx
je 0x10028d75
mov al, 1
jmp 0x10028d77
xor al, al
mov byte [esp + 0x1a], al
test cx, cx
je 0x10028d89
mov byte [esp + 0x1b], 0
test al, al
je 0x10028d8e
mov byte [esp + 0x1b], 1
cmp byte [esp + 0x13], 0
mov ax, word [esp + 0x6e]
je 0x10028ddd
test edx, edx
je 0x10028ddd
mov byte [esp + 0x12], 1
test ax, ax
mov byte [esp + 0x13], 1
setne dl
cmp word [esi + 0x5a], 0
jne 0x10028dba
mov byte [esp + 0x13], 0
inc dword [ebx + 0x30]
test dl, dl
je 0x10028e63
movzx eax, ax
cmp eax, 0x102
ja 0x10028e0d
je 0x10028e36
sub eax, 1
je 0x10028e06
sub eax, 0x100
jmp 0x10028e12
cmp byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
jne 0x10028da3
test byte [esi], 0x80
mov byte [esp + 0x12], 0
jne 0x10028da3
mov byte [esp + 0x12], 0
cmp word [esi + 0x5a], ax
jne 0x10028da3
xor dl, dl
mov byte [esp + 0x12], dl
jmp 0x10028db5
mov eax, 0x10036a00
jmp 0x10028e3b
cmp eax, 0x103
je 0x10028e36
add edi, 8
je 0x100294ba
mov ecx, ebx
mov dword [edi], 0x18
mov dword [edi + 4], 0
call fcn.10027c70
jmp 0x10028b39
mov eax, 0x10036e80
push dword [edi + 0x1c]
push 0
push dword [esp + 0x76]
push ebx
push edi
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x100294ba
mov ecx, ebx
call fcn.10027c70
mov cx, word [esp + 0x6c]
mov ebx, ebp
cmp byte [esp + 0x1a], 0
je 0x10028fe8
movzx eax, cx
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x10028e99
lea eax, [edi + 8]
test eax, eax
je 0x10028f7a
mov ecx, ebx
mov dword [eax], 0x12
mov dword [edi + 0xc], ebx
call fcn.10027c70
jmp 0x10028b39
movzx eax, ax
xor ecx, ecx
mov dword [esp + 0x20], eax
movzx edx, ax
xor eax, eax
cmp word [eax + 0x100881d8], dx
je 0x10028ebb
add eax, 0xc
inc ecx
cmp eax, 0xc
jb 0x10028ea7
jmp 0x10028ecd
lea eax, [ecx + ecx*2]
mov eax, dword [eax*4 + 0x100881e0]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10028eef
add edi, 8
je 0x10028f7a
mov dword [edi], 0x10
mov ecx, ebx
mov dword [edi + 4], 0
call fcn.10027c70
jmp 0x10028b39
push 0x2030
call dword [sym.imp.msvcrt.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10028f68
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
push ebp
push 0
push dword [esp + 0x28]
mov dword [ebp + 0xd], 0
mov dword [ebp + 0x2028], eax
mov dword [ebp + 0x14], ecx
mov byte [ebp + 0xc], 0
mov eax, dword [eax + 4]
call eax
add esp, 0xc
mov dword [ebp + 0x202c], eax
test eax, eax
jne 0x10028f86
push dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
add esp, 4
mov dword [ebp + 8], 0
push ebp
call esi
add esp, 4
add edi, 8
je 0x10028f7a
mov dword [edi], 0xe
mov dword [edi + 4], 0
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
lea eax, [edi + 8]
mov edx, 0x100303b0
push eax
push ebp
mov ecx, ebx
call fcn.10035cc0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10028fdd
mov eax, dword [ebp + 0x2028]
push dword [ebp + 0x202c]
mov eax, dword [eax + 8]
call eax
mov esi, dword [sym.imp.msvcrt.dll_free]
add esp, 4
push dword [ebp + 8]
call esi
add esp, 4
mov dword [ebp + 8], 0
push ebp
call esi
add esp, 4
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
mov ecx, ebx
call fcn.10027c70
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x1b], 0
lea eax, [edi + 8]
je 0x10029012
push eax
xor edx, edx
mov ecx, ebx
call fcn.1002f8c0
add esp, 4
mov ecx, ebx
mov ebp, eax
call fcn.10027c70
test ebp, ebp
je 0x10028b39
mov ebx, ebp
cmp byte [esp + 0x12], 0
je 0x100291cb
movzx eax, word [esi + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x1002904e
add edi, 8
je 0x1002915d
mov dword [edi], 0x12
mov ecx, ebx
mov dword [edi + 4], ebx
call fcn.10027c70
jmp 0x10028b39
cmp eax, 0xffffffff
je 0x1002905b
movzx edx, ax
cmp eax, 0xfffffffe
jne 0x10029060
mov edx, 8
xor ecx, ecx
xor eax, eax
cmp word [eax + 0x100881d8], dx
je 0x10029078
add eax, 0xc
inc ecx
cmp eax, 0xc
jb 0x10029064
jmp 0x1002908a
lea eax, [ecx + ecx*2]
mov eax, dword [eax*4 + 0x100881dc]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100290ac
add edi, 8
je 0x1002915d
mov dword [edi], 0x10
mov ecx, ebx
mov dword [edi + 4], 0
call fcn.10027c70
jmp 0x10028b39
push 0x2030
call dword [sym.imp.msvcrt.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1002914b
mov eax, dword [esp + 0x14]
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
cmp eax, 0xffffffff
je 0x100290eb
cmp eax, 0xfffffffe
je 0x100290eb
xor cl, cl
jmp 0x100290ed
mov cl, 1
mov byte [ebp + 0xe], cl
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x2028], ecx
mov dword [ebp + 0x14], eax
mov word [ebp + 0xf], 0x100
mov word [ebp + 0xc], 0
cmp eax, 0xffffffff
je 0x10029113
cmp eax, 0xfffffffe
jne 0x10029118
mov eax, 8
push ebp
push dword [esp + 0x24]
push eax
mov eax, dword [ecx + 4]
call eax
add esp, 0xc
mov dword [ebp + 0x202c], eax
test eax, eax
jne 0x10029169
push dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
add esp, 4
mov dword [ebp + 8], 0
push ebp
call esi
add esp, 4
add edi, 8
je 0x1002915d
mov dword [edi], 0xe
mov dword [edi + 4], 0
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
lea eax, [edi + 8]
mov edx, 0x100303b0
push eax
push ebp
mov ecx, ebx
call fcn.10035cc0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100291c0
mov eax, dword [ebp + 0x2028]
push dword [ebp + 0x202c]
mov eax, dword [eax + 8]
call eax
mov esi, dword [sym.imp.msvcrt.dll_free]
add esp, 4
push dword [ebp + 8]
call esi
add esp, 4
mov dword [ebp + 8], 0
push ebp
call esi
add esp, 4
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
mov ecx, ebx
call fcn.10027c70
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x100293ef
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100291ef
mov eax, dword [edi + 0x1c]
xor ecx, ecx
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x20], ecx
movzx ecx, word [esi + 0x5a]
mov eax, ecx
cmp eax, 0x102
ja 0x10029214
je 0x10029239
sub eax, 1
je 0x1002920a
sub eax, 0x100
jmp 0x10029219
mov dword [esp + 0x14], 0x100363c0
jmp 0x10029241
cmp eax, 0x103
je 0x10029239
add edi, 8
je 0x1002922d
mov dword [edi], 0x18
mov dword [edi + 4], 0
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
mov dword [esp + 0x14], 0x100375b0
mov eax, ecx
cmp ecx, 1
jne 0x100293cc
or word [esi + 0xc], 8
test byte [esi], 0x20
je 0x100293cc
lea ecx, [esp + 0x80]
call fcn.1002e160
mov eax, dword [esi + 0x18]
lea ebp, [edi + 8]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x80], 0x10
mov dword [esp + 0x84], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
test ebx, ebx
je 0x10029414
push 0xa0
call dword [sym.imp.msvcrt.dll_malloc]
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x100292d1
test ebp, ebp
je 0x10029426
mov ecx, ebx
mov dword [ebp], 0xe
mov dword [ebp + 4], eax
call fcn.10027c70
jmp 0x10028b39
lea eax, [edx + 0x28]
mov dword [edx], 0
mov ecx, eax
mov dword [edx + 4], 0
mov byte [edx + 0x10], 0
mov dword [esp + 0x30], eax
call fcn.1002e160
push 0xffffffffffffffff
mov dword [edx + 0x68], 0
mov dword [edx + 0x6c], 0
mov byte [edx + 0x70], 1
push 7
push 0xe
push 0x13
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x80], 0
mov dword [edx + 0x84], 0
mov dword [edx + 0x88], 0
call fcn.10035700
mov ecx, dword [ebx + 0x18]
add esp, 0x10
and ecx, 0x40ff
or eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x90], eax
and eax, 0x40
or eax, 0
mov dword [ecx + 0x94], edx
je 0x1002936c
mov al, 1
jmp 0x1002936e
xor al, al
mov byte [ecx + 0x98], al
lea edx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.1002e1c0
add esp, 4
test eax, eax
jns 0x100293a5
push dword [esp + 0x1c]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
push ebp
push dword [esp + 0x20]
mov edx, 0x1002ebc0
mov ecx, ebx
call fcn.10035cc0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10029426
mov ecx, ebx
call fcn.10027c70
movzx eax, word [esi + 0x5a]
mov ebx, ebp
push dword [esp + 0x20]
push 1
push eax
push ebx
push edi
call dword [esp + 0x28]
add esp, 0x14
mov ecx, ebx
mov ebp, eax
call fcn.10027c70
test ebp, ebp
je 0x10028b39
mov ebx, ebp
mov ecx, dword [edi]
cmp dword [ecx + 0x24], 1
je 0x10029432
lea eax, [ecx + 0xc]
test eax, eax
je 0x10029616
mov dword [eax], 0x12
mov dword [eax + 4], 0
jmp 0x10029616
test ebp, ebp
je 0x10029426
mov dword [ebp], 0x12
mov dword [ebp + 4], 0
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
push 0xd
push 0
push 0
xor edx, edx
call fcn.1002f150
mov ecx, edx
mov dword [esp + 0x3c], eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jg 0x1002945e
jl 0x10029616
test eax, eax
jb 0x10029616
push dword [esp + 0x24]
mov edx, ebx
mov ecx, edi
push dword [esp + 0x2c]
call fcn.10029890
add esp, 8
lea edx, [esp + 0x38]
mov ecx, ebx
mov ebp, eax
call fcn.10035910
test eax, eax
jns 0x10029498
lea ecx, [edi + 8]
test ecx, ecx
je 0x10029495
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
or ebp, 0xffffffff
lea edx, [esp + 0xc0]
mov ecx, ebx
call fcn.10034230
test eax, eax
je 0x100294c6
add edi, 8
je 0x100294ba
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov ecx, ebx
call fcn.10027c70
jmp 0x10028b39
mov ecx, ebx
call fcn.10027c70
test ebp, ebp
js 0x10028b39
mov ecx, dword [edi]
cmp dword [ecx + 0x24], 1
je 0x100294f5
lea eax, [ecx + 0xc]
test eax, eax
je 0x100294f1
mov dword [eax], 0x12
mov dword [eax + 4], 0
mov ecx, dword [edi]
jmp 0x10029515
push 0xd
push 0
push 0
xor edx, edx
call fcn.1002f150
mov ecx, dword [edi]
mov ebp, edx
add esp, 0xc
mov ebx, eax
test ebp, ebp
jg 0x1002952b
jl 0x10029515
test ebx, ebx
jae 0x1002952b
add edi, 8
je 0x10028b39
mov eax, dword [ecx + 0xc]
mov dword [edi], eax
mov eax, dword [ecx + 0x10]
jmp 0x10028b36
push dword [esp + 0x78]
push dword [esp + 0x80]
call fcn.10034960
add esp, 8
test eax, eax
js 0x10029616
mov ecx, dword [esp + 0x38]
mov eax, ecx
and eax, 0x64
cmp eax, 0x64
jne 0x100295eb
test byte [esi], 0x20
jne 0x10029581
and ecx, 0x10
lea edx, [esi + 0x18]
or ecx, 0
je 0x10029577
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x10029581
push edx
call dword [sym.imp.msvcrt.dll__time64]
add esp, 4
movzx eax, word [esp + 0x6c]
lea edx, [esp + 0xc0]
mov ecx, dword [esp + 0x54]
push dword [esp + 0xec]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x34], ecx
mov ecx, ebx
sub ecx, dword [esp + 0x34]
mov dword [esi + 0x30], eax
mov eax, ebp
sbb eax, dword [esp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x30]
shr eax, 0xa
mov dword [esi + 0x28], ecx
mov ecx, esi
push eax
call fcn.100340b0
push dword [esp + 0x34]
mov edx, esi
mov ecx, edi
call fcn.100333a0
add esp, 0xc
test eax, eax
js 0x10028b39
cmp dword [esp + 0x34], eax
je 0x10029606
add edi, 8
je 0x10028b39
mov dword [edi], 0x14
mov dword [edi + 4], 0
jmp 0x10028b39
mov ecx, dword [edi]
push ebp
push ebx
call fcn.10034960
add esp, 8
test eax, eax
jns 0x10029633
mov ecx, dword [edi]
lea edx, [edi + 8]
test edx, edx
je 0x10028b39
mov eax, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 4], eax
jmp 0x10028b39
test byte [esi + 0xc], 8
je 0x10029651
push dword [esp + 0x34]
mov edx, esi
mov ecx, edi
call fcn.10029b40
add esp, 4
test eax, eax
js 0x10028b39
xor eax, eax
jmp 0x10028b3c