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

Disassembly:
sub esp, 0x60
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
cmp si, 0x400
push edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
jne 0x3005d76c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x3005d779
cmp si, 0x800
jne 0x3005d779
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push esi
call fcn.3005f326
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x3c], edi
je 0x3005e2d8
cmp edi, 0x3008b008
je 0x3005e2d8
push ebx
push esi
call fcn.3005f397
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov ebx, eax
mov eax, dword [esp + 0x78]
and eax, 0xbfffffff
cmp ebx, ebp
mov dword [esp + 0x48], ebx
je 0x3005e2a0
cmp dword [ebx + 0x1c], ebp
jne 0x3005e2a0
cmp ecx, 0xffffffff
jg 0x3005e2a0
cmp edx, 0xffffffff
jg 0x3005e2aa
cmp eax, 1
ja 0x3005e2a0
test esi, 0xfff00000
jne 0x3005e28c
mov edi, dword [esp + 0x7c]
cmp edi, ebp
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edi
mov dword [esp + 0x78], edx
je 0x3005e28c
cmp edx, ebp
je 0x3005e28c
movzx ecx, word [edi]
cmp cx, word [edx]
jne 0x3005d8e1
movzx ecx, cx
mov edi, edi
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
jne 0x3005d8d9
cmp cx, bp
je 0x3005d8d9
movzx ecx, word [edi + 2]
add edi, 2
add edx, 2
cmp cx, word [edx]
je 0x3005d829
mov dword [esp + 0x10], edi
mov dword [esp + 0x78], edx
mov cx, word [edi]
cmp cx, word [edx]
je 0x3005e240
neg eax
sbb eax, eax
and eax, 0xe8000000
add eax, 0xffffffff
mov dword [esp + 0x50], eax
xor eax, eax
cmp dword [ebx + 0x18], ebp
mov dword [esp + 0x44], ebp
setne al
mov dword [esp + 0x38], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], ebp
add eax, 1
or eax, 4
mov dword [esp + 0x20], eax
movzx eax, cx
cmp ax, bp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x74], ebp
je 0x3005e1e8
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x60
ret 0x18
cmp edx, 0xffffffff
jg 0x3005e2aa
mov edx, 0xfffffffe
cmp ecx, 0xffffffff
jg 0x3005e2b4
mov ecx, 0xfffffffe
push edi
push edx
mov edx, dword [esp + 0x8c]
push edx
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push eax
push ebx
call fcn.3005bdac
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x60
ret 0x18
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
pop edi
pop esi
pop ebp
add esp, 0x60
ret 0x18