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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x2c
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x58]
push edi
push eax
mov dword [esp + 0x34], 0x80004005
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], edi
call fcn.00407e80
add esp, 0xc
push 0x40e
mov al, 0xc2
lea ecx, [esp + 0x86]
push edi
push ecx
mov dword [esp + 0x3c], 0xaac56b
mov word [esp + 0x40], 0xcd44
mov word [esp + 0x42], 0x11d0
mov byte [esp + 0x44], 0x8c
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0
mov byte [esp + 0x47], 0xc0
mov byte [esp + 0x48], 0x4f
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], 0x95
mov byte [esp + 0x4b], 0xee
mov word [esp + 0x8c], di
call fcn.00407e80
mov ebx, dword [ebp + 8]
xor eax, eax
add esp, 0xc
xor esi, esi
cmp dword [ebx + 8], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edi
je 0x412e55
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x412e55
cmp dword [ebp + 0x10], edi
je 0x412e55
cmp dword [ebp + 0x1c], edi
je 0x412a94
push ecx
call fcn.00414c50
add esp, 4
test eax, eax
je 0x412e48
mov ecx, dword [ebp + 0xc]
push ecx
xor eax, eax
push 0x41e770
lea edx, [esp + 0x88]
push 0x207
mov dword [esp + 0x4c], eax
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], 0x10
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x30
lea ecx, [esp + 0x64]
lea eax, [esp + 0x94]
push edi
push ecx
mov dword [esp + 0x60], eax
call fcn.00407e80
add esp, 0x1c
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
lea edx, [esp + 0x44]
push ecx
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 0x14]
mov esi, 1
push edi
mov dword [esp + 0x5c], 0x30
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0x110
mov dword [esp + 0x88], edi
call edx
cmp eax, edi
je 0x412b4f
cmp eax, 0x800b0101
jne 0x412e31
cmp dword [ebp + 0x14], edi
je 0x412e48
cmp dword [ebp + 0x18], edi
je 0x412e48
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
push ebx
call edx
test eax, eax
jl 0x412e55
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
push 0x40
call edi
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
push edx
push 0x40
mov dword [esp + 0x2c], eax
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0x40
call edi
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x412e53
cmp dword [esp + 0x14], 0
je 0x412e53
test eax, eax
je 0x412e66
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x14]
push eax
push ebx
call ecx
test eax, eax
jl 0x412e53
test byte [ebp + 0x14], 4
mov edi, dword [ebp + 0x18]
je 0x412cb8
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x412cb8
mov eax, dword [edi + 0x10]
cmp eax, dword [esp + 0x20]
jne 0x412e44
cmp eax, 4
mov edx, dword [esp + 0x24]
jb 0x412c4a
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x412c4e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x412c36
test eax, eax
je 0x412cab
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x412c9d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412cab
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x412c9d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412cab
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x412c9d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412cab
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x412cab
test esi, esi
mov eax, 1
jg 0x412cad
or eax, 0xffffffff
jmp 0x412cad
xor eax, eax
test eax, eax
jne 0x412e44
lea esi, [eax + 1]
test byte [ebp + 0x14], 1
je 0x412d64
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x412d64
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x412e44
cmp eax, 4
mov edx, dword [esp + 0x14]
jb 0x412cf6
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x412cfa
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x412ce2
test eax, eax
je 0x412d57
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x412d49
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412d57
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x412d49
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412d57
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x412d49
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412d57
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x412d57
test esi, esi
mov eax, 1
jg 0x412d59
or eax, 0xffffffff
jmp 0x412d59
xor eax, eax
test eax, eax
jne 0x412e44
lea esi, [eax + 1]
test byte [ebp + 0x14], 2
je 0x412e46
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x412e46
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0x18]
jne 0x412e44
cmp eax, 4
mov edx, dword [esp + 0x1c]
jb 0x412da4
nop
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x412da8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x412d90
test eax, eax
je 0x412e19
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x412df7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412e19
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x412df7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412e19
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x412df7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x412e19
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x412e19
test esi, esi
mov eax, 1
jg 0x412e1b
or eax, 0xffffffff
xor edx, edx
test eax, eax
mov eax, dword [ebp + 0x10]
sete dl
xor edi, edi
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [eax], esi
jmp 0x412e55
xor eax, eax
xor edx, edx
test eax, eax
mov eax, dword [ebp + 0x10]
sete dl
xor edi, edi
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [eax], esi
jmp 0x412e55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [eax], esi
mov dword [esp + 0x28], edi
jmp 0x412e55
xor esi, esi
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [esp + 0x28], edi
jmp 0x412e55
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x412e68
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x412e68
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x412e77
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x412e86
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18