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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
mov eax, dword [0x1020f334]
xor eax, esp
mov dword [esp + 0x320], eax
mov eax, dword [ebp + 0x10]
and dword [esp + 0x28], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x20], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], ecx
mov ebx, dword [edx + 4]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
xor ebx, ebx
and dword [esi], ebx
and dword [eax], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x100228c0
test edi, edi
je 0x100228c0
xor eax, eax
mov word [ecx], ax
mov ecx, edx
call fcn.10022610
test al, al
je 0x10022b84
mov edx, dword [0x102196f8]
lea edi, [esp + 0x64]
mov esi, ecx
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 + 0x64]
mov esi, dword [esp + 0x20]
cmp edi, 0x100000
jb 0x1002292d
lea eax, [edx + 0x100000]
cmp edi, eax
jae 0x1002292d
test esi, esi
js 0x1002290a
cmp esi, 5
jle 0x1002292d
lea eax, [esi - 0xf]
cmp eax, 3
jbe 0x1002292d
mov ecx, edi
call fcn.1001e288
mov edx, dword [0x102196f8]
mov eax, dword [eax + 0x28]
cmp eax, 0xffffffff
je 0x1002292d
test eax, eax
je 0x1002292d
cmp eax, 1
cmovne edi, eax
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x70]
cmp ecx, 0x100000
jb 0x1002295e
lea eax, [edx + 0x100000]
cmp ecx, eax
jae 0x1002295e
call fcn.1001e288
mov eax, dword [eax + 0x28]
cmp eax, 0xffffffff
je 0x1002295e
test eax, eax
je 0x1002295e
cmp eax, 1
cmovne ecx, eax
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x64]
call fcn.10022610
test al, al
je 0x10022b72
imul eax, esi, 0x14
test byte [eax + 0x101a48f8], 0xa
je 0x100229ff
test dword [ebp + 0x14], 0x7100
jne 0x100229ff
mov esi, dword [esp + 0x18]
mov edx, dword [0x102196f8]
cmp dword [esi], 0x100000
jb 0x100229bf
lea eax, [edx + 0x100000]
cmp dword [esi], eax
jae 0x100229bf
mov edx, ecx
mov ecx, dword [esi]
call fcn.10022762
test eax, eax
js 0x100232bc
mov edi, dword [esp + 0x64]
mov edx, dword [0x102196f8]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi]
jne 0x100229cf
mov dword [esp + 0x70], edi
jmp 0x10022b72
cmp ecx, 0x100000
jb 0x10022b72
lea eax, [edx + 0x100000]
cmp ecx, eax
jae 0x10022b72
lea edx, [esp + 0x70]
call fcn.10022762
test eax, eax
js 0x100232bc
jmp 0x10022b72
cmp esi, 1
jne 0x10022b15
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov ecx, esi
call fcn.1001e288
mov edi, eax
mov dword [esp + 0x44], edi
test edi, edi
je 0x100232bc
mov eax, dword [edi + 4]
lea ecx, [esp + 0x48]
mov edx, eax
mov dword [esp + 0x24], eax
call fcn.1002587a
cmp dword [esp + 0x4c], ebx
jne 0x10022a6b
mov edi, dword [esp + 0x30]
test edi, edi
js 0x10022ac9
xor ecx, ecx
mov eax, edi
test edi, edi
cmovs eax, ecx
mov ecx, dword [esp + 0x24]
push eax
push dword [esp + 0x18]
push 2
pop edx
call fcn.1002270f
mov esi, dword [esp + 0x2c]
mov ebx, eax
mov dword [esi], ebx
jmp 0x10022abf
cmp esi, 0x100000
jb 0x10022ac5
mov eax, dword [0x102196f8]
add eax, 0x100000
cmp esi, eax
jae 0x10022ac5
mov eax, dword [edi + 0x28]
cmp eax, 0xffffffff
je 0x10022ac5
test eax, eax
je 0x10022ac5
cmp eax, 1
je 0x10022ac5
mov edi, dword [esp + 0x30]
cmp eax, esi
mov esi, dword [esp + 0x2c]
je 0x10022acd
mov ecx, dword [esp + 0x10]
mov edx, edi
push ecx
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push 1
push eax
push esi
call fcn.1002284f
mov ebx, eax
test ebx, ebx
jne 0x10022aed
jmp 0x10022acd
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp dword [esi], 0
jne 0x10022aed
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push esi
mov ecx, dword [ecx + 4]
push edi
call fcn.100235e6
mov ebx, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100232bc
xor ecx, ecx
cmp cx, word [eax]
jne 0x100232bc
cmp edi, dword [esi]
jbe 0x100232bc
xor ebx, ebx
and dword [esi], ecx
jmp 0x100232bc
cmp esi, 0x29
jne 0x100232bc
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x1c]
push 4
pop edx
mov ecx, dword [eax + 0xc]
call fcn.10021da8
test eax, eax
js 0x100232bc
mov ecx, dword [esp + 0x70]
cmp ecx, 0x100000
jb 0x10022b58
mov eax, dword [0x102196f8]
add eax, 0x100000
cmp ecx, eax
jb 0x100232bc
cmp ecx, 0xffffffff
je 0x100232bc
test ecx, ecx
je 0x100232bc
cmp ecx, 1
je 0x100232bc
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x64]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jmp 0x10022b86
mov eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ecx
call fcn.1001e288
mov edx, eax
mov dword [esp + 0x40], edx
test edx, edx
jne 0x10022bae
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0x80004005
jmp 0x100232cf
mov eax, dword [esp + 0x20]
cmp eax, 0xc
jg 0x10022d5b
je 0x10022cc9
sub eax, 0
je 0x10022c41
sub eax, 1
je 0x10022c26
dec eax
sub eax, 1
je 0x10022c41
sub eax, 1
jne 0x10022d76
mov ebx, 0xc00
cmp dword [edx + 8], ebx
jne 0x10022c19
push 0xaa
push eax
lea eax, [esp + 0x80]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x78]
push 0
push 0x55
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push ecx
push eax
jmp 0x100232ae
mov ecx, dword [esp + 0x10]
push ecx
push dword [edx + 4]
jmp 0x100232ae
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], str.CultureNameDisplay
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
jmp 0x10022d28
call fcn.100223d7
test al, al
jne 0x100232bc
and dword [esp + 0x38], ebx
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp dword [esp + 0x20], edx
push eax
setne dl
inc edx
call fcn.10021da8
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
test eax, eax
js 0x10022c81
cmp dword [esp + 0x38], ebx
cmovne ecx, dword [esp + 0x38]
cmp eax, 0x8007000e
je 0x100232bc
mov eax, dword [esp + 0x18]
mov edx, str.CultureNameProof
cmp dword [esp + 0x20], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov eax, str.CultureNameConfig
cmovne eax, edx
mov dword [esp + 0x34], eax
call fcn.1001e288
test eax, eax
jne 0x10022cc4
mov eax, dword [esp + 0x10]
mov dword [eax], 0x80004005
jmp 0x100232cf
mov eax, dword [eax + 4]
jmp 0x10022d28
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], str.ScriptNameDisplay
test eax, eax
jne 0x10022d03
lea edx, [esp + 0x24]
call fcn.10021cba
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
js 0x100232bc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
push dword [esp + 0x10]
lea edx, [esp + 0x12c]
mov ecx, eax
push 0
push 5
call fcn.100207e5
test eax, eax
je 0x100232bc
lea eax, [esp + 0x128]
mov edx, dword [ebp + 0x14]
mov ecx, edx
and ecx, 0x7100
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
je 0x10022f31
xor ecx, ecx
test dword [ecx*8 + 0x101a5420], edx
jne 0x10022f0a
inc ecx
cmp ecx, 4
jb 0x10022d43
jmp 0x10022f31
sub eax, 0xd
je 0x10022cd4
sub eax, 0x1c
je 0x10022ebc
sub eax, 1
je 0x10022ec7
or dword [esp + 0x74], 0xffffffff
or dword [esp + 0x44], 0xffffffff
or dword [esp + 0x24], 0xffffffff
call fcn.10022506
test al, al
je 0x10022daa
lea eax, [esp + 0x74]
push eax
push 4
pop edx
call fcn.10021da8
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push 5
mov ecx, dword [eax]
jmp 0x10022dc7
cmp ecx, 0x200000
jb 0x10022dcd
mov eax, dword [0x102196f0]
add eax, 0x200000
cmp ecx, eax
jae 0x10022dcd
lea eax, [esp + 0x24]
push eax
push 3
pop edx
call fcn.10021da8
imul eax, dword [esp + 0x20], 0x14
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x101a48f8]
test al, 0x10
je 0x10022e51
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
call fcn.10022506
mov edx, 0x80000
test al, al
je 0x10022e11
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
test dword [ecx + 0x101a48f8], edx
cmovne eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
jmp 0x10022e38
cmp ecx, 0x200000
jb 0x10022e34
mov eax, dword [0x102196f0]
mov ecx, dword [esp + 0x28]
add eax, 0x200000
cmp dword [esp + 0x3c], eax
cmovb ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x101a48f8], edx
mov eax, str.CultureInfoRegion
mov edx, str.CultureInfoLanguage
cmovne edx, eax
mov dword [esp + 0x34], edx
jmp 0x10022eb1
test al, 0x20
je 0x10022ead
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x10022e82
lea eax, [esp + 0x38]
xor edx, edx
push eax
mov eax, dword [esp + 0x1c]
inc edx
mov ecx, dword [eax]
call fcn.1002205d
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
js 0x100232bc
mov ecx, dword [esp + 0x38]
mov eax, dword [0x1021973c]
push ecx
add ecx, ecx
push dword [eax + ecx*8 + 4]
lea ecx, [esp + 0x130]
call fcn.1002554a
test al, al
je 0x100232bc
lea eax, [esp + 0x128]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x101a48ec]
jmp 0x10022d28
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], str.CalendarNameDisplay
cmp dword [esp + 0x3c], ebx
jne 0x10022ef6
lea eax, [esp + 0x38]
xor edx, edx
push eax
inc edx
call fcn.1002205d
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
js 0x100232bc
mov ecx, dword [esp + 0x38]
jmp 0x10022efa
mov ecx, dword [esp + 0x3c]
mov eax, dword [0x1021973c]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 4]
jmp 0x10022d28
push eax
push dword [ecx*8 + 0x101a5424]
lea ecx, [esp + 0x230]
call fcn.1002559e
test al, al
je 0x100232bc
lea eax, [esp + 0x228]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10022fed
test edi, edi
je 0x10022fed
mov edx, dword [esp + 0x20]
imul eax, edx, 0x14
test dword [eax + 0x101a48f8], 0x2000
je 0x10022fe9
test edi, edi
js 0x10022f97
xor edx, edx
mov eax, edi
push 0
test edi, edi
cmovs eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
call fcn.1001dd90
test eax, eax
js 0x10022f8d
lea ebx, [eax + 1]
mov dword [esi], ebx
jmp 0x100232bc
and dword [esi], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jne 0x100232bc
cmp edx, 8
jg 0x1002312c
je 0x10023101
mov eax, edx
sub eax, ebx
je 0x100230c8
sub eax, 1
je 0x10023099
dec eax
sub eax, 1
je 0x100230c8
dec eax
sub eax, 1
jne 0x1002314e
mov edx, dword [esp + 0x40]
push dword [esp + 0x10]
push dword [edx + 4]
jmp 0x100232b2
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push eax
call fcn.10007398
test eax, eax
js 0x10022f8f
mov ecx, dword [esp + 0x48]
mov edx, 0x4000
cmp dword [ecx], ebx
jne 0x1002302e
imul eax, dword [esp + 0x20], 0x14
test dword [eax + 0x101a48f8], edx
jne 0x1002302e
lea ecx, [esp + 0x48]
call fcn.100075d4
jmp 0x10022f8f
imul eax, dword [esp + 0x20], 0x14
mov eax, dword [eax + 0x101a48f8]
test eax, 0x2000
je 0x10023054
push dword [esp + 0x10]
push dword [ecx]
mov ecx, dword [esp + 0x1c]
mov edx, edi
push esi
call fcn.10022431
jmp 0x10023089
test eax, 0x8000
je 0x1002306e
push dword [ecx]
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.1002569b
mov ebx, eax
mov dword [esi], ebx
jmp 0x1002308b
test edx, eax
je 0x1002308b
push dword [esp + 0x10]
mov edx, edi
push ecx
push ecx
push ecx
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push esi
call fcn.10025734
mov ebx, eax
lea ecx, [esp + 0x48]
call fcn.100075d4
jmp 0x100232bc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.1001e288
xor ebx, ebx
test eax, eax
je 0x100232bc
push dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
push dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push esi
push edi
call fcn.100235e6
jmp 0x100232ba
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x24]
mov edx, str.CultureNameDisplay
call fcn.10007398
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [ecx], eax
test eax, eax
js 0x100232bc
mov eax, dword [esp + 0x48]
cmp dword [eax], ebx
je 0x1002308b
push ecx
push dword [eax]
jmp 0x10023046
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
mov edx, dword [edx + 4]
call fcn.1002587a
cmp dword [esp + 0x4c], ebx
jbe 0x100232a5
push dword [esp + 0x10]
push dword [esp + 0x50]
push dword [esp + 0x50]
jmp 0x10023293
mov eax, edx
sub eax, 0xb
je 0x10023265
sub eax, 3
je 0x1002322c
sub eax, 4
je 0x1002321e
sub eax, 0x72
je 0x1002319d
and dword [esp + 0x24], ebx
xor ebx, ebx
test dword [ebp + 0x14], 0x7000
jne 0x100232bc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.100226ae
test al, al
je 0x100232bc
push dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
mov edx, edi
mov ecx, dword [esp + 0x18]
or eax, 0x1000
push eax
push dword [esp + 0x28]
push dword [esp + 0x24]
push esi
call fcn.1002284f
jmp 0x100232ba
or dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
and dword [esi], ebx
push 5
pop edx
mov ecx, dword [eax]
call fcn.10021da8
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x10023207
cmp eax, dword [esp + 0x28]
je 0x10023207
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x48]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
push 0x84
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov edx, edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
push esi
call fcn.1002284f
mov ebx, eax
test ebx, ebx
jne 0x100232bc
cmp dword [esi], 0
jne 0x100232bc
push dword [esp + 0x10]
push str.1111100
jmp 0x100232ae
push dword [esp + 0x10]
push 0x10197284
jmp 0x100232b2
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10023245
push dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
push esi
push edi
call fcn.100207e5
jmp 0x1002329f
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
mov edx, dword [edx + 4]
call fcn.1002587a
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x100232a5
push dword [esp + 0x10]
push 4
jmp 0x1002328b
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
mov edx, dword [edx + 4]
call fcn.1002587a
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x100232a5
cmp dword [esp + 0x5c], ebx
jbe 0x100232a5
push dword [esp + 0x10]
push dword [esp + 0x60]
mov eax, dword [esp + 0x50]
lea eax, [eax + ecx*2]
push eax
mov ecx, dword [esp + 0x20]
mov edx, edi
push esi
call fcn.1002537e
mov ebx, eax
test ebx, ebx
jne 0x100232bc
push dword [esp + 0x10]
push 0x10197284
mov ecx, dword [esp + 0x1c]
push esi
mov edx, edi
call fcn.10022431
mov ebx, eax
mov esi, dword [esp + 0x10]
cmp dword [esi], 0
jl 0x100232cf
test ebx, ebx
jne 0x100232cf
mov dword [esi], 0x80004005
mov ecx, dword [esp + 0x32c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100042bb
mov esp, ebp
pop ebp
ret 0x14