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

Disassembly:
push 0xffffffffffffffff
push 0x10039e58
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], 0
mov eax, ecx
shr eax, 2
test cl, 3
mov dword [esp + 0x60], esi
jne 0x1002b007
cmp eax, esi
jbe 0x1002af72
mov ecx, edx
mov dword [esp + 0x18], eax
xor edi, edi
xor edx, edx
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ecx
mov cl, byte [ecx]
cmp cl, 0x3d
jne 0x1002ae77
add ebx, 1
xor edx, edx
jmp 0x1002ae96
xor eax, eax
cmp dword [esp + 0x34], eax
jbe 0x1002ae96
nop
mov ebp, dword [esp + 0x30]
cmp cl, byte [eax + ebp]
je 0x1002ae94
add eax, 1
cmp eax, dword [esp + 0x34]
jb 0x1002ae80
jmp 0x1002ae96
mov edx, eax
mov ecx, 0x1a
sub ecx, esi
shl edx, cl
mov ecx, dword [esp + 0x14]
add ecx, 1
add esi, 6
or edi, edx
cmp esi, 0x18
mov dword [esp + 0x14], ecx
jl 0x1002ae69
xor ecx, ecx
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x20], edi
je 0x1002aed6
sub eax, 1
je 0x1002aecf
sub eax, 1
jne 0x1002aedb
lea ecx, [eax + 1]
jmp 0x1002aedb
mov ecx, 2
jmp 0x1002aedb
mov ecx, 3
test ecx, ecx
lea edi, [esp + 0x23]
jle 0x1002af5f
mov ebp, ecx
mov bl, byte [edi]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x4c]
cmp ecx, 1
ja 0x1002aef8
call fcn.1002b28c
mov esi, dword [esp + 0x4c]
add esi, 1
cmp esi, 0xfffffffe
jbe 0x1002af09
call fcn.1002b28c
mov eax, dword [esp + 0x50]
cmp eax, esi
jae 0x1002afcf
mov edx, dword [esp + 0x4c]
push edx
push esi
lea ecx, [esp + 0x40]
call fcn.10003660
mov eax, dword [esp + 0x50]
test esi, esi
jbe 0x1002af57
cmp eax, 0x10
mov eax, dword [esp + 0x3c]
jae 0x1002af39
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov byte [eax + ecx], bl
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
jae 0x1002af53
lea eax, [esp + 0x3c]
mov byte [eax + esi], 0
sub edi, 1
sub ebp, 1
jne 0x1002aee5
sub dword [esp + 0x18], 1
mov ecx, dword [esp + 0x14]
jne 0x1002ae5d
mov ebp, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
mov esi, dword [esp + 0x4c]
push 4
push ebp
call edi
test eax, eax
jne 0x1002aff3
mov eax, dword [ebp]
cmp eax, esi
jb 0x1002aff0
push eax
mov eax, dword [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x1002aff0
mov edi, dword [esp + 0x50]
cmp edi, 0x10
mov ebx, dword [esp + 0x3c]
mov eax, ebx
jae 0x1002afab
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push esi
push eax
push ecx
call fcn.100304b0
add esp, 0xc
cmp edi, 0x10
mov dword [ebp], esi
jb 0x1002afcb
push ebx
call fcn.1002b322
add esp, 4
mov al, 1
jmp 0x1002b009
test esi, esi
jne 0x1002af2a
cmp eax, 0x10
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
jae 0x1002afe8
lea eax, [esp + 0x3c]
mov byte [eax], 0
jmp 0x1002af57
mov dword [ebp], esi
cmp dword [esp + 0x50], 0x10
jb 0x1002b007
mov edx, dword [esp + 0x3c]
push edx
call fcn.1002b322
add esp, 4
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1002b6af
add esp, 0x50
ret 0x18