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

Disassembly:
push 0xffffffffffffffff
push 0x43e12e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp + 4]
xor esi, esi
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
lea eax, [esp + 0x48]
mov dword [esp + 0x17c], esi
push eax
call fcn.0042e320
add esp, 4
mov eax, dword [esp + 0x50]
mov byte [esp + 0x17c], 1
cmp eax, esi
je 0x4317ca
lea edx, [esp + 0x48]
lea ecx, [esp + 0x28]
call fcn.00431aa0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 2
call fcn.004214b0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x17c], 1
cmp ecx, esi
je 0x4316a0
call fcn.0040b35f
cmp dword [esp + 0x30], esi
jne 0x4317d6
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.0041ad6a
mov edi, str.Unable_to_open_message_catalog:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.0041affb
test al, al
je 0x431700
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
mov esi, str.Unable_to_open_message_catalog:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.0041afcb
lea ecx, [esp + 0x48]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x188], 3
call fcn.0042fbf0
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], 4
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], 0x44acf8
call fcn.00435613
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x180], 5
mov byte [esp + 0x68], dl
call fcn.0041ad6a
mov eax, dword [0x441840]
lea ecx, [esp + 0x64]
push eax
push 0
push edi
call fcn.0041ac30
mov esi, 0x4418ac
mov dword [esp + 0x58], esi
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 7
call fcn.0041ad6a
lea ecx, [esp + 0x58]
call fcn.00430b20
mov dword [esp + 0x58], esi
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x180], 8
call fcn.0041ad6a
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 3
call fcn.0043569a
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 1
call fcn.0041ad6a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43191d
mov bl, 1
mov dword [esp + 0x28], 1
mov cl, bl
call fcn.004311a0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0041ad6a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call fcn.0041affb
test al, al
je 0x431838
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.0041afcb
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38]
mov byte [esp + 0x17c], 9
mov edx, dword [edi]
push eax
push ecx
push edx
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x24]
call fcn.00431b80
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 0xb
call fcn.0041ad6a
mov ecx, dword [esp + 0x20]
xor ebp, ebp
xor esi, esi
cmp ecx, ebp
jbe 0x4318ca
cmp ecx, esi
jb 0x4318b4
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4318b4
mov dl, byte [eax - 1]
test dl, dl
je 0x4318a4
cmp dl, 0xff
je 0x4318a4
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.0041affb
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4318b0
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x1c]
add eax, esi
jmp 0x4318b9
mov eax, 0x441844
xor ecx, ecx
inc esi
mov cl, byte [eax]
mov byte [ecx + edi + 4], bl
mov ecx, dword [esp + 0x20]
cmp ecx, esi
ja 0x431881
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x17c], 1
cmp eax, ebp
je 0x4318f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4318ee
cmp al, 0xff
je 0x4318ee
dec al
mov byte [ecx], al
jmp 0x4318f7
push ecx
call fcn.004211d9
add esp, 4
mov ecx, dword [esp + 0x28]
inc bl
inc ecx
cmp bl, 0x39
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
jb 0x4317e0
mov ebp, dword [esp + 0x14]
jmp 0x431944
mov bl, 1
mov cl, bl
call fcn.004311a0
test eax, eax
je 0x43193d
mov cl, byte [eax]
test cl, cl
je 0x43193d
and ecx, 0xff
inc eax
mov byte [ecx + ebp + 4], bl
jne 0x43192a
inc bl
cmp bl, 0x39
jb 0x43191f
mov bl, 0x41
lea edi, [ebp + 0x45]
mov byte [esp + 0x14], bl
cmp byte [edi], 0
jne 0x431982
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp]
push esi
mov edx, 2
call fcn.00431fb0
test al, al
je 0x43196d
mov byte [edi], 0x16
jmp 0x431982
mov ecx, dword [ebp]
push esi
mov edx, 1
call fcn.00431fb0
test al, al
je 0x431982
mov byte [edi], 0x17
mov dl, bl
inc bl
inc edi
cmp dl, 0xff
mov byte [esp + 0x14], bl
jne 0x43194d
xor esi, esi
xor eax, eax
mov byte [esp + eax + 0x74], al
inc eax
cmp eax, 0x100
jl 0x431994
mov ecx, dword [ebp]
lea edi, [ebp + 0x104]
push 0x100
push edi
lea eax, [esp + 0x7c]
push 0x100
push eax
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
cmp eax, 0x100
jge 0x4319d7
mov byte [edi + eax], al
inc eax
cmp eax, 0x100
jl 0x4319cc
mov ecx, dword [ebp]
lea edx, [ebp + 0x204]
push edx
lea eax, [esp + 0x78]
push 0x100
push eax
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
mov ecx, dword [esp + 0x4c]
cmp ecx, esi
je 0x431a17
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x431a0e
cmp al, 0xff
je 0x431a0e
dec al
mov byte [ecx], al
jmp 0x431a17
push ecx
call fcn.004211d9
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x34]
test esi, esi
mov dword [esp + 0x17c], 0xffffffff
je 0x431a66
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
mov ecx, eax
test ecx, ecx
jne 0x431a66
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
mov edx, ecx
test edx, edx
jne 0x431a66
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret