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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x33c
mov eax, dword [0x4ad15c]
xor eax, esp
mov dword [esp + 0x338], eax
and dword [esp + 0x24], 0
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ecx + 4]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
xor ebx, ebx
and dword [esi], ebx
and dword [edi], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edi
test eax, eax
je 0x413d6d
test edx, edx
je 0x413d6d
xor edx, edx
mov word [eax], dx
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x3c], eax
call fcn.00413230
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x2b], al
test al, al
jne 0x413d96
mov ecx, dword [edx + 0xc]
call fcn.00413230
test al, al
jne 0x413d96
xor eax, eax
jmp 0x413d99
xor eax, eax
inc eax
test al, al
je 0x413ffc
mov esi, edx
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.00413230
mov esi, dword [esp + 0x24]
test al, al
je 0x413ded
test esi, esi
js 0x413dd3
cmp esi, 5
jle 0x413ded
lea eax, [esi - 0xf]
cmp eax, 3
jbe 0x413ded
call fcn.0041324d
mov ecx, dword [eax + 0x28]
call fcn.0040e9be
test al, al
cmove edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x54]
mov ecx, edi
call fcn.00413230
test al, al
je 0x413e12
call fcn.0041324d
mov ecx, dword [eax + 0x28]
call fcn.0040e9be
test al, al
cmove edi, ecx
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x18]
mov ecx, edx
call fcn.00413230
test al, al
jne 0x413e30
mov ecx, edi
call fcn.00413230
test al, al
jne 0x413e30
xor eax, eax
jmp 0x413e33
xor eax, eax
inc eax
test al, al
je 0x413fec
imul eax, esi, 0x14
test byte [eax + 0x4832a0], 0xa
je 0x413ea6
test dword [ebp + 0x14], 0x7100
jne 0x413ea6
cmp byte [esp + 0x2b], bl
je 0x413e6f
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x48]
call fcn.00413c28
test eax, eax
js 0x4146ed
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax]
jne 0x413e83
mov dword [esp + 0x54], edx
jmp 0x413fec
call fcn.00413230
test al, al
je 0x413fec
lea edx, [esp + 0x54]
call fcn.00413c28
test eax, eax
js 0x4146ed
jmp 0x413fec
cmp esi, 1
jne 0x413fa9
mov ecx, dword [esp + 0x3c]
call fcn.0041324d
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x4146ed
mov edi, dword [esi + 4]
lea ecx, [esp + 0x60]
mov edx, edi
call fcn.00416a49
cmp dword [esp + 0x64], ebx
jne 0x413f03
mov eax, dword [esp + 0x10]
test eax, eax
js 0x413f9f
push eax
push dword [esp + 0x18]
mov ecx, edi
push 2
pop edx
call fcn.00413c01
mov esi, dword [esp + 0x34]
mov ebx, eax
mov edi, dword [esp + 0xc]
mov dword [esi], ebx
jmp 0x413f46
cmp byte [esp + 0x2b], bl
je 0x413f9b
mov ecx, dword [esi + 0x28]
call fcn.0040e9be
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
test al, al
jne 0x413f4a
cmp ecx, dword [esp + 0x3c]
je 0x413f4a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push edi
push dword [ebp + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
push 1
push eax
push esi
call fcn.00413cfc
mov ebx, eax
test ebx, ebx
jne 0x413f6f
mov eax, dword [esp + 0x10]
cmp dword [esi], 0
jne 0x413f6f
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push eax
mov ecx, dword [ecx + 4]
call fcn.004149f6
mov ebx, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4146f1
xor ecx, ecx
cmp cx, word [eax]
jne 0x4146f1
mov eax, dword [esp + 0x10]
cmp eax, dword [esi]
jbe 0x4146f1
xor ebx, ebx
and dword [esi], ecx
jmp 0x4146f1
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
jmp 0x413f4e
cmp esi, 0x29
jne 0x4146ed
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push eax
push 4
pop edx
mov ecx, dword [ecx + 0xc]
call fcn.00412c2a
test eax, eax
js 0x4146ed
mov ecx, dword [esp + 0x54]
call fcn.00413230
test al, al
jne 0x4146ed
call fcn.0040e9be
test al, al
jne 0x4146ed
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x48]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov ecx, dword [edx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
call fcn.0041324d
mov edx, eax
mov dword [esp + 0x3c], edx
test edx, edx
je 0x4146fa
mov eax, dword [esp + 0x24]
cmp eax, 0xc
jg 0x4141b7
je 0x414128
sub eax, 0
je 0x4140aa
sub eax, 1
je 0x41408f
dec eax
sub eax, 1
je 0x4140aa
sub eax, 1
jne 0x4141d2
mov ebx, 0xc00
cmp dword [edx + 8], ebx
jne 0x414086
push 0xaa
push eax
lea eax, [esp + 0x98]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x90]
push 0
push 0x55
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
push edi
lea eax, [esp + 0x94]
push eax
jmp 0x4146dd
push edi
push dword [edx + 4]
jmp 0x4146dd
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], str.CultureNameDisplay
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
jmp 0x414184
call fcn.004130b6
test al, al
jne 0x4146ed
and dword [esp + 0x38], ebx
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp dword [esp + 0x24], edx
push eax
setne dl
inc edx
call fcn.00412c2a
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [edi], ecx
test ecx, ecx
js 0x4140e8
cmp dword [esp + 0x38], ebx
cmovne eax, dword [esp + 0x38]
cmp ecx, 0x8007000e
je 0x4146ed
mov ecx, dword [esp + 0x1c]
mov edx, str.CultureNameProof
cmp dword [esp + 0x24], ebx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, str.CultureNameConfig
cmovne ecx, edx
mov dword [esp + 0x30], ecx
mov ecx, eax
call fcn.0041324d
test eax, eax
je 0x4146fa
mov eax, dword [eax + 4]
jmp 0x414184
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], str.ScriptNameDisplay
test eax, eax
jne 0x414162
lea edx, [esp + 0x20]
call fcn.00412b4d
mov dword [edi], eax
test eax, eax
js 0x4146ed
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
push edi
push 0
push 5
lea edx, [esp + 0x14c]
mov ecx, eax
call fcn.00411383
test eax, eax
je 0x4146ed
lea eax, [esp + 0x140]
mov edx, dword [ebp + 0x14]
mov ecx, edx
and ecx, 0x7100
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
je 0x414365
xor ecx, ecx
test dword [ecx*8 + 0x483270], edx
jne 0x41433e
inc ecx
cmp ecx, 4
jb 0x41419f
jmp 0x414365
sub eax, 0xd
je 0x414137
sub eax, 0x1c
je 0x4142f4
sub eax, 1
je 0x4142ff
or dword [esp + 0x58], 0xffffffff
or dword [esp + 0x5c], 0xffffffff
or dword [esp + 0x20], 0xffffffff
call fcn.00413215
test al, al
je 0x414206
lea eax, [esp + 0x58]
push eax
push 4
pop edx
call fcn.00412c2a
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
push 5
mov ecx, dword [ecx]
jmp 0x414216
call fcn.004132a7
test al, al
je 0x41421c
lea eax, [esp + 0x20]
push eax
push 3
pop edx
call fcn.00412c2a
imul eax, dword [esp + 0x24], 0x14
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x4832a0]
test al, 0x10
je 0x41428d
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.00413215
mov edx, 0x80000
test al, al
je 0x41425c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
test dword [ecx + 0x4832a0], edx
cmovne eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
jmp 0x414274
call fcn.004132a7
mov ecx, dword [esp + 0x2c]
test al, al
cmovne ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x4832a0], edx
mov eax, str.CultureInfoLanguage
mov edx, str.CultureInfoRegion
cmove edx, eax
mov dword [esp + 0x30], edx
jmp 0x4142e9
test al, 0x20
je 0x4142e5
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4142ba
lea eax, [esp + 0x38]
xor edx, edx
push eax
mov eax, dword [esp + 0x20]
inc edx
mov ecx, dword [eax]
call fcn.00412edd
mov dword [edi], eax
test eax, eax
js 0x4146ed
mov ecx, dword [esp + 0x38]
mov eax, dword [0x4d2884]
push ecx
add ecx, ecx
push dword [eax + ecx*8 + 4]
lea ecx, [esp + 0x148]
call fcn.004166ac
test al, al
je 0x4146ed
lea eax, [esp + 0x140]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x483294]
jmp 0x414184
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], str.CalendarNameDisplay
cmp dword [esp + 0x40], ebx
jne 0x41432a
lea eax, [esp + 0x38]
xor edx, edx
push eax
inc edx
call fcn.00412edd
mov dword [edi], eax
test eax, eax
js 0x4146ed
mov ecx, dword [esp + 0x38]
jmp 0x41432e
mov ecx, dword [esp + 0x40]
mov eax, dword [0x4d2884]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
jmp 0x414184
push eax
push dword [ecx*8 + 0x483274]
lea ecx, [esp + 0x248]
call fcn.00416700
test al, al
je 0x4146ed
lea eax, [esp + 0x240]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41441c
mov edx, dword [esp + 0x10]
test edx, edx
je 0x41441c
imul eax, dword [esp + 0x24], 0x14
test dword [eax + 0x4832a0], 0x2000
je 0x414418
test edx, edx
js 0x4143c7
push 0
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push 0
push dword [esp + 0x28]
call fcn.0041350c
test eax, eax
js 0x4143bb
lea ebx, [eax + 1]
mov dword [esi], ebx
jmp 0x4146ed
xor ebx, ebx
and dword [esi], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
jne 0x4146ed
mov eax, dword [esp + 0x24]
cmp eax, 8
jg 0x414555
je 0x41452c
sub eax, 0
je 0x4144f8
sub eax, 1
je 0x4144cb
dec eax
sub eax, 1
je 0x4144f8
dec eax
sub eax, 1
jne 0x414575
mov eax, dword [esp + 0x3c]
push edi
push dword [eax + 4]
jmp 0x4146e5
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push eax
call fcn.00413945
test eax, eax
js 0x4143bf
mov ecx, dword [esp + 0x78]
mov edx, 0x4000
cmp dword [ecx], ebx
jne 0x41445d
imul eax, dword [esp + 0x24], 0x14
test dword [eax + 0x4832a0], edx
jne 0x41445d
lea ecx, [esp + 0x78]
call fcn.00413ad2
jmp 0x4143bf
imul eax, dword [esp + 0x24], 0x14
mov eax, dword [eax + 0x4832a0]
test eax, 0x2000
je 0x414482
push edi
push dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.00413102
jmp 0x4144bb
test eax, 0x8000
je 0x41449e
push dword [ecx]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
call fcn.00416805
mov ebx, eax
mov dword [esi], ebx
jmp 0x4144bd
test edx, eax
je 0x4144bd
mov edx, dword [esp + 0x10]
push edi
push ecx
push ecx
push ecx
push dword [esp + 0x8c]
mov ecx, dword [esp + 0x28]
push esi
call fcn.0041689f
mov ebx, eax
lea ecx, [esp + 0x78]
call fcn.00413ad2
jmp 0x4146ed
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi]
call fcn.0041324d
test eax, eax
je 0x4146ed
push dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push edi
push esi
push dword [esp + 0x1c]
call fcn.004149f6
jmp 0x4146eb
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x78]
push eax
push 0
push dword [esp + 0x20]
mov edx, str.CultureNameDisplay
call fcn.00413945
mov dword [edi], eax
test eax, eax
js 0x4146ed
mov eax, dword [esp + 0x78]
cmp dword [eax], 0
je 0x4144bd
push edi
push dword [eax]
jmp 0x414472
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x60]
mov edx, dword [eax + 4]
call fcn.00416a49
cmp dword [esp + 0x64], 0
jbe 0x4146d7
push edi
push dword [esp + 0x68]
push dword [esp + 0x68]
jmp 0x4146c3
sub eax, 0xb
je 0x414697
sub eax, 3
je 0x414664
sub eax, 4
je 0x414659
sub eax, 0x72
je 0x4145dc
mov edx, dword [ebp + 0x14]
test edx, 0x7000
jne 0x4146ed
mov ecx, dword [esp + 0x24]
and dword [esp + 0x20], 0
imul eax, ecx, 0x14
test dword [eax + 0x4832a0], 0x20000
je 0x4145b2
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
call fcn.00413bb4
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x14]
jmp 0x4145b4
xor al, al
test al, al
je 0x4146ed
push edi
or edx, 0x1000
push edx
mov edx, dword [esp + 0x18]
push ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push esi
call fcn.00413cfc
jmp 0x4146eb
or dword [esp + 0x20], 0xffffffff
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
xor ebx, ebx
and dword [esi], ebx
push 5
pop edx
mov ecx, dword [eax]
call fcn.00412c2a
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x414645
cmp eax, dword [esp + 0x2c]
je 0x414645
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x60]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
push edi
push dword [ebp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push 0x84
push eax
push esi
call fcn.00413cfc
mov ebx, eax
test ebx, ebx
jne 0x4146f1
cmp dword [esi], 0
jne 0x4146ed
push edi
push str.1111100
jmp 0x4146dd
push edi
push 0x4808b8
jmp 0x4146e5
mov eax, dword [esp + 0x44]
test eax, eax
je 0x41467a
push edi
push esi
push edx
mov edx, ecx
mov ecx, eax
call fcn.00411383
jmp 0x4146d1
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x60]
mov edx, dword [eax + 4]
call fcn.00416a49
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4146d7
push edi
push 4
jmp 0x4146bb
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x60]
mov edx, dword [eax + 4]
call fcn.00416a49
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4146d7
cmp dword [esp + 0x74], 0
jbe 0x4146d7
push edi
push dword [esp + 0x78]
mov eax, dword [esp + 0x68]
lea eax, [eax + ecx*2]
push eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push esi
call fcn.00416628
mov ebx, eax
test ebx, ebx
jne 0x4146ed
push edi
push 0x4808b8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
call fcn.00413102
mov ebx, eax
mov edi, dword [esp + 0xc]
cmp dword [edi], 0
jl 0x414700
test ebx, ebx
jne 0x414700
mov dword [edi], 0x80004005
mov ecx, dword [esp + 0x344]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047a72f
mov esp, ebp
pop ebp
ret 0x14