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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c3db
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100a20a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x4c], eax
mov edi, dword [eax + 0x3c]
mov dword [ebp - 0x50], edi
test edi, edi
je 0x1003e868
mov dword [ebp - 0x44], 1
jmp 0x1003e876
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x1003ec3d
xor edx, edx
lea ecx, [esi + 0x38]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], ecx
jmp 0x1003e890
xor ebx, ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], ebx
test edi, edi
je 0x1003e8cd
mov edi, dword [eax + 0x28]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
jmp 0x1003e8ed
mov eax, dword [esi + 0x28]
mov edi, dword [edx + eax + 0x44]
mov ecx, dword [edx + eax + 0x58]
mov eax, dword [edx + eax + 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], edi
cmp dword [eax], ebx
jne 0x1003ec23
cmp ecx, 0x20000000
jg 0x1003e92b
je 0x1003e91f
test ecx, ecx
je 0x1003e913
cmp ecx, 0x10000000
jne 0x1003ec23
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x30], 0x1000644c
jmp 0x1003e941
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x30], 0x10006448
jmp 0x1003e941
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x30], 0x10007340
jmp 0x1003e941
cmp ecx, 0x30000000
jne 0x1003ec23
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x30], 0x1000733c
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003ec23
cmp edi, dword [eax]
jae 0x1003ec23
lfence
test ecx, ecx
jne 0x1003eadb
mov ecx, dword [ebp - 0x24]
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c], edi
xor edx, edx
lea ebx, [ebx]
mov eax, dword [edx + 0x100056c0]
test ecx, eax
je 0x1003e9d3
mov ecx, dword [ebp - 0x28]
lea ebx, [ecx + ecx*4]
mov ecx, dword [edi]
mov ecx, dword [ecx + ebx*4 + 8]
test ecx, ecx
je 0x1003e9b2
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0xb0]
mov eax, dword [ecx + 0x10]
cmp dword [eax + 0xb0], edi
jne 0x1003e9ca
mov dword [ebp + edx - 0x20], ecx
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x1003e993
mov eax, dword [edx + 0x100056c0]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [edi]
cmp dword [ecx + ebx*4 + 0x10], 0
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
jne 0x1003e9d3
inc ebx
or dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
jmp 0x1003e9d3
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add edx, 4
add edi, 4
mov dword [ebp - 0x3c], edi
cmp edx, 0x10
jb 0x1003e970
test ebx, ebx
je 0x1003ead5
mov ecx, dword [ebp - 0x28]
mov eax, 1
mov edx, dword [ebp - 0x34]
shl eax, cl
test edx, 0x80000
je 0x1003ea69
mov ecx, dword [esi + 0x74]
and ecx, eax
je 0x1003ea3d
test edx, 0x40000
je 0x1003ea3d
test dword [esi + 0x78], eax
je 0x1003ea3d
mov edi, 0x10006454
cmp ebx, 1
ja 0x1003ea21
mov edi, 0x10006456
push 1
push 1
push edx
call fcn.1003ac10
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
push 0x10008b68
jmp 0x1003eac4
test ecx, ecx
je 0x1003ea69
mov edi, 0x10006454
cmp ebx, 1
ja 0x1003ea50
mov edi, 0x10006456
push 1
push 1
push edx
call fcn.1003ac10
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
push 0x10008df8
jmp 0x1003eac4
test edx, 0x40000
je 0x1003ea9e
test dword [esi + 0x78], eax
je 0x1003ea9e
mov edi, 0x10006454
cmp ebx, 1
ja 0x1003ea85
mov edi, 0x10006456
push 1
push 1
push edx
call fcn.1003ac10
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
push 0x10008f68
jmp 0x1003eac4
mov edi, 0x10006454
cmp ebx, 1
ja 0x1003eaad
mov edi, 0x10006456
push 1
push 1
push edx
call fcn.1003ac10
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
push 0x10006458
push dword [esi + 0x28]
push 0
push esi
call fcn.1003a830
add esp, 0x20
inc dword [esi + 0x20]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x10]
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
jmp 0x1003eaf0
test dword [ebx + 0x100056c0], eax
je 0x1003ec0b
mov ecx, dword [ebp + ebx - 0x20]
test ecx, ecx
je 0x1003eb4a
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1003eb17
mov eax, dword [eax + 0x10]
cmp eax, dword [esi + 0x28]
je 0x1003ec08
push dword [esi + 0x28]
mov eax, dword [edx]
push ecx
lea ecx, [edi + edi*4]
lea ecx, [eax + ecx*4]
call fcn.1003a270
test eax, eax
jne 0x1003ec05
push 0x1000648c
push 0
push 2
push esi
call fcn.1003a830
add esp, 0x10
inc dword [esi + 0x20]
jmp 0x1003ec05
mov eax, dword [edx]
lea edi, [edi + edi*4]
mov dword [ebp - 0x34], eax
mov eax, dword [eax + edi*4 + 0xc]
test eax, eax
je 0x1003eb5d
mov eax, dword [eax + 0x10]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x38], ecx
cmp eax, ecx
je 0x1003ec08
push 0x3c
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
je 0x1003eb8e
mov eax, edx
mov ecx, 0x20
and eax, 0x1f
sub ecx, eax
mov dword [edx + ecx - 4], ecx
lea eax, [edx + ecx]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], 0
test eax, eax
je 0x1003ebe3
mov ecx, dword [edx + edi*4 + 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + edi*4 + 8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + edi*4 + 4]
mov dword [eax + 4], 0
mov dword [eax], ecx
test ecx, ecx
je 0x1003ebc1
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 1
jmp 0x1003ebe5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edx + edi*4 + 4], eax
test eax, eax
je 0x1003eb30
cmp dword [edx + edi*4], 0
jne 0x1003ec01
mov dword [edx + edi*4], eax
mov dword [edx + edi*4 + 0xc], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
add ebx, 4
add edx, 4
mov dword [ebp - 0x2c], edx
cmp ebx, 0x10
jb 0x1003eaf0
mov edx, dword [ebp - 0x48]
add dword [ebp - 0x40], 4
add edx, 0x20
sub dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x48], edx
jne 0x1003e890
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret