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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ecb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x878
mov eax, dword [0x1006099c]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x874], eax
mov eax, dword [ebx]
push esi
xor esi, esi
sub eax, esi
push edi
mov byte [esp + 0xf], 0
je 0x1000296e
dec eax
je 0x1000293c
dec eax
jne 0x10002aa7
lea ecx, [esp + 0x10]
call fcn.1002d9e9
mov eax, dword [ebx + 0x20]
xor edi, edi
cmp eax, 0x10
mov dword [esp + 0x88c], edi
jb 0x100028b1
mov edx, dword [ebx + 0xc]
jmp 0x100028b4
lea edx, [ebx + 0xc]
mov eax, edx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100028d0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.10001f80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x890], 1
call fcn.100304df
mov byte [esp + 0xf], al
cmp dword [esp + 0x2c], 0x10
jb 0x10002912
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10036530
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
mov dword [esp + 0x88c], 0xffffffff
call fcn.1002d9f2
jmp 0x10002aa7
cmp dword [ebx + 0x20], 0x10
jb 0x10002958
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.1003ff2b
add esp, 8
jmp 0x10002a9e
lea edx, [esp + 0x30]
lea eax, [ebx + 0xc]
push edx
push eax
call fcn.1003ff2b
add esp, 8
jmp 0x10002a9e
xor eax, eax
mov byte [esp + 0x78], 0
mov ecx, 0x1ff
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebx + 0x20], 0x10
mov dword [esp + 0x30], SysStringLen
mov dword [esp + 0x34], 0x10053548
mov dword [esp + 0x38], SysStringLen
mov dword [esp + 0x3c], 0x10053534
mov dword [esp + 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], 0x10053520
mov dword [esp + 0x48], SysStringLen
mov dword [esp + 0x4c], 0x10053514
mov dword [esp + 0x50], reloc.OLEAUT32.dll_SysReAllocStringLen
mov dword [esp + 0x54], 0x100534fc
mov dword [esp + 0x58], SysStringLen
mov dword [esp + 0x5c], 0x100534e8
mov dword [esp + 0x60], reloc.OLEAUT32.dll_SysStringLen
mov dword [esp + 0x64], 0x100534d8
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x100534c7
jb 0x10002a0a
mov eax, dword [ebx + 0xc]
jmp 0x10002a0d
lea eax, [ebx + 0xc]
push 0x7ff
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1003eddd
lea ecx, [esp + 0x84]
push 0x100534d4
push ecx
call fcn.1003ee70
lea edx, [esp + 0x8c]
add esp, 0x14
cmp eax, edx
jne 0x10002a45
mov esi, 2
lea edi, [esp + esi + 0x78]
push 0x5c
push edi
call fcn.1003ed62
add esp, 8
test eax, eax
je 0x10002ac1
mov byte [eax], 0
lea ebx, [eax + 1]
lea esi, [esp + 0x30]
mov eax, 0x10053548
push edi
push eax
call fcn.1003ef22
add esp, 8
test eax, eax
je 0x10002a81
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
add esi, 8
test cl, cl
jne 0x10002a67
mov esi, dword [esi]
test esi, esi
je 0x10002ac1
push 0x20019
lea eax, [esp + 0x78]
push eax
push ebx
push esi
call fcn.100309ea
mov ebx, dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x10002aa7
mov byte [esp + 0xf], 1
mov eax, dword [ebx + 4]
test eax, eax
jne 0x10002abb
mov al, byte [esp + 0xf]
test al, al
sete cl
mov byte [esp + 0xf], cl
mov al, byte [esp + 0xf]
jmp 0x10002ac3
xor al, al
mov ecx, dword [esp + 0x884]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x87c]
call fcn.1003fd01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4