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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002b398
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 0x1000595f
mov edi, edx
mov eax, dword [edi + 0x94]
mov ecx, dword [eax + 4]
add edi, 0x7c
push ecx
mov ecx, edi
mov dword [esp + 0x48], edi
call fcn.10008070
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 + 0x4c], edi
call eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x78], 1
mov ecx, dword [edi]
mov eax, dword [ecx + 0x2c]
lea edx, [esp + 0x30]
push edx
push edi
call eax
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10005979
mov byte [esp + 0x78], bl
cmp eax, ebx
je 0x1000594f
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 + 0x34]
mov dword [esp + 0x34], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
push eax
call edx
mov edi, eax
cmp edi, ebx
jge 0x100059ce
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100059a4
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 + 0x3c]
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 + 0x3c]
lea edi, [esp + 0x54]
mov byte [esp + 0x78], 3
call fcn.10006790
xor eax, eax
xor edi, edi
cmp esi, edi
setne al
cmp eax, edi
jne 0x10005a15
push 0x80004005
call fcn.10001e30
mov edx, dword [esp + 0x3c]
push esi
push edx
call fcn.1001c0e1
add esp, 8
cmp eax, edi
je 0x10005a6c
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.1000be50
lea ebx, [esp + 0x38]
lea edi, [esp + 0x54]
mov byte [esp + 0x78], 4
call fcn.10006790
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005a6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
xor ebx, ebx
sar ecx, 2
mov dword [esp + 0x40], ebx
test ecx, ecx
jbe 0x10005e35
jmp 0x10005a90
xor esi, esi
cmp dword [esp + 0x34], edi
jle 0x10005b50
lea esp, [esp]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x78], 6
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
push esi
push eax
call edx
cmp eax, edi
jge 0x10005ad6
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10005b45
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005b45
mov dword [esp + 0x24], edi
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
cmp eax, edi
jne 0x10005b25
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sar ecx, 2
cmp ebx, ecx
jb 0x10005b08
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 0x10005bed
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10005b45
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc esi
cmp esi, dword [esp + 0x34]
jl 0x10005aa0
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x10005e17
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 0x10005e17
lea edx, [esp + 0x38]
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jne 0x10005e02
xor ecx, ecx
cmp dword [esp + 0x38], esi
mov dword [esp + 0x1c], ecx
jle 0x10005e02
nop
mov dword [esp + 0x14], esi
mov byte [esp + 0x78], 9
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
lea ebx, [esp + 0x14]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, esi
jge 0x10005c49
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10005de9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005de9
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x10005c1e
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x10005c12
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x1002e33c
push eax
mov eax, dword [ecx]
call eax
cmp esi, edi
je 0x10005c1e
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 + 0x1c]
test eax, eax
je 0x10005b56
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005b56
mov dword [esp + 0x18], esi
mov bl, 0xa
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x10005c8d
push ecx
call edi
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10005de9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10005de9
push str.Resource
push ecx
call fcn.1001c0e1
add esp, 8
test eax, eax
je 0x10005cc4
mov edx, dword [esp + 0x18]
push edx
call edi
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10005de9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005de9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0
test eax, eax
je 0x10005ce5
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], 0
jne 0x10005cfa
mov ecx, dword [esp + 0x18]
jmp 0x10005c6c
mov edx, dword [0x100347ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x100347ec
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 + 0x4c]
mov byte [esp + 0x78], 0xc
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.10005ef0
test eax, eax
jge 0x10005d7b
lea esi, [esp + 0x4c]
call fcn.10007180
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10005d5d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call edi
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10005de9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10005de9
mov eax, dword [esp + 0x4c]
cmp dword [eax - 0xc], 0
je 0x10005d40
mov ecx, dword [esp + 0x50]
cmp dword [ecx - 0xc], 0
je 0x10005d40
mov edi, dword [esp + 0x44]
lea ebx, [esp + 0x4c]
call fcn.10006d20
mov edi, eax
lea eax, [esp + 0x50]
call fcn.100019d0
mov esi, ebx
call fcn.10007180
mov byte [esp + 0x78], 0xa
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10005dc3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x78], 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10005de3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x1c]
inc ecx
xor esi, esi
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
jl 0x10005bb0
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x10005e17
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
inc ebx
sar eax, 2
xor edi, edi
mov dword [esp + 0x40], ebx
cmp ebx, eax
jb 0x10005a90
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x78], 3
cmp eax, edi
je 0x10005e46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x10005e66
mov edi, dword [esp + 0x64]
call fcn.100087a0
mov eax, dword [esp + 0x60]
push eax
call fcn.1001b625
add esp, 4
xor edi, edi
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call fcn.1001b625
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10005ea4
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 + 0x30]
cmp eax, edi
je 0x10005eb9
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