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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002b428
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x100331b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x100050bc
mov edi, edx
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 4]
add edi, 0x5c
push ecx
mov ecx, edi
mov dword [esp + 0x44], edi
call fcn.10007d90
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov edi, dword [ebp + 8]
mov dword [eax + 8], eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
mov dword [esp + 0x48], edi
call eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x78], 1
mov ecx, dword [edi]
mov eax, dword [ecx + 0x2c]
lea edx, [esp + 0x2c]
push edx
push edi
call eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x100050d6
mov byte [esp + 0x78], bl
cmp eax, ebx
je 0x100050ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, 0x80070057
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
push eax
call edx
mov edi, eax
cmp edi, ebx
jge 0x1000512b
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10005101
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1002e110
call fcn.1000be50
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x7c], 2
call fcn.100066d0
lea ebx, [esp + 0x38]
lea edi, [esp + 0x54]
mov byte [esp + 0x78], 3
call fcn.10006790
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x10005170
push 0x80004005
call fcn.10001e30
mov edx, dword [esp + 0x38]
push esi
push edx
call fcn.1001c0e1
add esp, 8
test eax, eax
je 0x100051c5
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.1000be50
lea ebx, [esp + 0x34]
lea edi, [esp + 0x54]
mov byte [esp + 0x78], 4
call fcn.10006790
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100051c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, edi
sub ecx, eax
xor ebx, ebx
sar ecx, 2
mov dword [esp + 0x3c], ebx
test ecx, ecx
jbe 0x10005583
xor esi, esi
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x30], esi
jle 0x10005567
mov dword [esp + 0x18], 0
mov byte [esp + 0x78], 6
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
call edx
xor edi, edi
cmp eax, edi
jge 0x1000522e
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10005299
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005299
mov dword [esp + 0x24], edi
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
cmp eax, edi
jne 0x10005279
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sar ecx, 2
cmp ebx, ecx
jb 0x10005260
call fcn.1001c363
mov edx, dword [esp + 0x60]
mov eax, dword [edx + ebx*4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.1001c0e1
add esp, 8
test eax, eax
je 0x100052ac
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x10005299
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc esi
cmp esi, dword [esp + 0x30]
jl 0x100051f2
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100052ff
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x100052dd
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x100052d1
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x1002e33c
push eax
mov eax, dword [ecx]
call eax
cmp esi, edi
je 0x100052dd
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100052ff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x10005567
mov dword [esp + 0x28], esi
lea edx, [esp + 0x28]
mov byte [esp + 0x78], 8
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x10005552
lea edx, [esp + 0x34]
mov dword [esp + 0x34], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jne 0x1000553d
xor ecx, ecx
cmp dword [esp + 0x34], esi
mov dword [esp + 0x18], ecx
jle 0x1000553d
jmp 0x10005360
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 9
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
lea ebx, [esp + 0x10]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, esi
jge 0x1000539d
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10005524
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005524
mov dword [esp + 0x14], esi
mov bl, 0xa
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp eax, esi
je 0x100053e3
push ecx
call edi
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10005524
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10005524
push str.Resource
push ecx
call fcn.1001c0e1
add esp, 8
test eax, eax
je 0x100053fe
mov edx, dword [esp + 0x14]
push edx
call edi
jmp 0x1000537f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x1000541b
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x1002e33c
push eax
mov eax, dword [ecx]
call eax
mov byte [esp + 0x78], 0xb
cmp dword [esp + 0x20], esi
jne 0x1000542c
mov ecx, dword [esp + 0x14]
jmp 0x100053c2
mov edx, dword [0x100347ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x100347ec
mov dword [esp + 0x48], esi
call eax
mov edx, dword [0x100347ec]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x100347ec
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 0xc
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10005660
cmp eax, esi
jge 0x100054a9
lea esi, [esp + 0x48]
call fcn.10005620
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10005492
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x10]
test eax, eax
jmp 0x100053d0
mov ecx, dword [esp + 0x4c]
cmp dword [ecx - 0xc], esi
je 0x10005475
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
push ecx
call fcn.10006af0
mov edx, dword [esp + 0x48]
mov esi, eax
lea edi, [esi + 4]
lea eax, [esp + 0x4c]
mov dword [esi], edx
call fcn.100019d0
lea edi, [esi + 8]
lea eax, [esp + 0x50]
call fcn.100019d0
lea esi, [esp + 0x48]
call fcn.10005620
mov byte [esp + 0x78], 0xa
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100054fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000551e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x18]
inc ecx
xor esi, esi
cmp ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
jl 0x10005360
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x10005552
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x10005567
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, edi
sub ecx, eax
inc ebx
sar ecx, 2
mov dword [esp + 0x3c], ebx
cmp ebx, ecx
jb 0x100051e2
test eax, eax
je 0x10005599
call fcn.100087a0
mov edx, dword [esp + 0x60]
push edx
call fcn.1001b625
add esp, 4
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
push eax
call fcn.1001b625
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100055d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100055ee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4