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

Disassembly:
sub esp, 0xb98
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0xb94], eax
mov eax, dword [esp + 0xb9c]
push ebx
push ebp
mov ebp, dword [esp + 0xba8]
push esi
push edi
mov dword [esp + 0x28], eax
xor esi, esi
lea eax, [esp + 0x14]
mov dword [esp + 0x10], esi
push eax
push 0x20019
push esi
push 0x100064b8
push reloc.mswstr10.dll_Ordinal_2
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
call fcn.101145b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10043db0
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 0x208
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
push esi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x5a8]
push eax
push dword [esp + 0x40]
call fcn.10114740
test eax, eax
jne 0x10043db0
xor edi, edi
mov dword [esp + 0x40], eax
cmp dword [esp + 0x48], eax
jbe 0x10043db0
test edi, edi
jne 0x10043db0
push 0x105
lea ecx, [esp + 0x16c]
push ecx
push eax
push dword [esp + 0x20]
call fcn.10114310
mov edi, eax
test edi, edi
jne 0x10043d9d
lea eax, [esp + 0x18]
push eax
push 0x20019
push edi
lea eax, [esp + 0x174]
push eax
push dword [esp + 0x24]
call fcn.101145b0
mov edi, eax
test edi, edi
jne 0x10043d9d
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 0x104
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x5a8]
push eax
push dword [esp + 0x44]
call fcn.10114740
mov edi, eax
test edi, edi
jne 0x10043d92
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x10043d8c
nop
test edi, edi
jne 0x10043d8c
push 0x209
lea eax, [esp + 0x16c]
push eax
push ebx
push dword [esp + 0x24]
call fcn.10114310
mov edi, eax
test edi, edi
jne 0x10043d81
lea eax, [esp + 0x24]
push eax
push 0xf003f
push edi
lea eax, [esp + 0x174]
push eax
push dword [esp + 0x28]
call fcn.101145b0
mov edi, eax
test edi, edi
jne 0x10043d81
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 0x104
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x70]
push eax
push edi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x5a8]
push eax
push dword [esp + 0x50]
call fcn.10114740
mov edi, eax
test edi, edi
jne 0x10043d72
cmp dword [esp + 0x54], eax
jne 0x10043d72
xor esi, esi
cmp dword [esp + 0x20], esi
jbe 0x10043d6e
push 0x102
lea eax, [esp + 0x68]
mov dword [esp + 0x54], 0x82
push 0
push eax
mov dword [esp + 0x58], 0x20a
call fcn.10117460
push 0x20a
lea eax, [esp + 0x384]
push 0
push eax
call fcn.10117460
add esp, 0x18
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x378]
push eax
lea eax, [esp + 0x68]
push eax
push 0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x78]
push eax
push esi
push dword [esp + 0x40]
call fcn.101143e0
mov edi, eax
test edi, edi
jne 0x10043d6e
lea eax, [esp + 0x64]
push 0x100061d4
push eax
call fcn.10115740
add esp, 8
test eax, eax
jne 0x10043d63
lea eax, [esp + 0x374]
push eax
call fcn.1003daa0
test eax, eax
jne 0x10043dd8
inc esi
cmp esi, dword [esp + 0x20]
jb 0x10043cd6
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10043d81
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, dword [esp + 0x2c]
jb 0x10043c20
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10043d9d
push eax
call ebx
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x48]
jb 0x10043b73
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10043dbb
push ecx
call ebx
mov eax, esi
mov ecx, dword [esp + 0xba4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0xb98
ret 8
mov esi, dword [ebp]
cmp esi, 0x400
jae 0x10043d6e
push 0x440
call fcn.101174f0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [ebp]
cmp dword [ecx + eax*4], 0
je 0x10043d6e
push 0x208
lea eax, [esp + 0x790]
push eax
lea eax, [esp + 0x170]
push eax
call fcn.10115700
test eax, eax
je 0x10043ee0
push 0x208
lea eax, [esp + 0x99c]
push eax
lea eax, [esp + 0x37c]
push eax
call fcn.10115700
test eax, eax
je 0x10043ee0
mov eax, dword [ebp]
lea esi, [esp + 0x78c]
mov ecx, dword [esp + 0x28]
mov edx, 0x209
mov ecx, dword [ecx + eax*4]
sub esi, ecx
lea eax, [edx + 0x7ffffdf5]
test eax, eax
je 0x10043e79
mov al, byte [esi + ecx]
test al, al
je 0x10043e79
mov byte [ecx], al
inc ecx
dec edx
jne 0x10043e60
jmp 0x10043e7d
test edx, edx
jne 0x10043e7e
dec ecx
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x998]
mov byte [ecx], 0
mov edx, 0x209
mov ecx, dword [ebp]
mov eax, dword [eax + ecx*4]
inc ecx
add eax, 0x209
mov dword [ebp], ecx
sub esi, eax
lea ecx, [edx + 0x7ffffdf5]
test ecx, ecx
je 0x10043eca
mov cl, byte [esi + eax]
test cl, cl
je 0x10043eca
mov byte [eax], cl
inc eax
dec edx
jne 0x10043ea2
dec eax
mov esi, 1
mov dword [esp + 0x10], esi
mov byte [eax], dl
jmp 0x10043d72
test edx, edx
jne 0x10043ecf
dec eax
mov esi, 1
mov byte [eax], 0
mov dword [esp + 0x10], esi
jmp 0x10043d72
xor eax, eax
jmp 0x10043dbd