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

Disassembly:
push 0xffffffffffffffff
push 0x5d1ad9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x880
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x54]
call fcn.0041b6e0
xor ebx, ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x898], ebx
call fcn.00419f90
push str.UTF_8
lea ecx, [esp + 0x84]
mov byte [esp + 0x89c], 1
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
call fcn.0041a280
mov edi, dword [esp + 0x8a0]
mov dword [esp + 0x898], 2
cmp edi, ebx
je 0x42233b
mov ebp, dword [esp + 0x8a4]
cmp ebp, 4
jb 0x42233b
lea ecx, [esp + 0x54]
call fcn.0041ba00
push 0x64
lea ecx, [esp + 0x40]
call fcn.0041c320
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x89c], 3
call fcn.0041c350
mov cx, word [edi]
xor esi, esi
and ecx, 0xfefe
cmp ecx, 0xfefe
jne 0x4222ef
mov esi, 2
jmp 0x422305
cmp byte [edi], 0xef
jne 0x422305
cmp byte [edi + 1], 0xbb
jne 0x422305
cmp byte [edi + 2], 0xbf
jne 0x422305
mov esi, 3
cmp esi, ebp
jae 0x422326
mov eax, ebp
lea edx, [esp + 0x3c]
sub eax, esi
push edx
lea ecx, [esi + edi]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.0041bbd0
add esi, eax
cmp esi, ebp
jb 0x422309
mov edx, dword [esp + 0x44]
mov byte [esp + 0x898], 2
push edx
call fcn.005b44c3
add esp, 4
mov cl, byte [str.Language]
mov esi, str.Language
cmp cl, bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov eax, 0x637cad
je 0x422362
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42235b
sub eax, str.Language
lea ecx, [esp + 0x30]
dec eax
mov edi, eax
lea edx, [edi + 0x20]
push edx
call fcn.0041b410
mov cl, byte [str.Language]
mov eax, dword [esp + 0x30]
cmp cl, bl
je 0x422390
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
cmp cl, bl
jne 0x422385
mov byte [eax], bl
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x898], 4
cmp ecx, ebx
je 0x4223ed
call fcn.0049c460
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x10], ebp
je 0x4223ed
jmp 0x4223bb
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0041cee0
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x8c], eax
jne 0x4223e9
mov ecx, dword [esp + 0x78]
push ebp
call fcn.0056eda0
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4223b7
jmp 0x4223ed
cmp ebp, ebx
jne 0x422439
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x898], 6
call fcn.0041ba00
mov edx, dword [esp + 0x80]
push edx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x898], 0xffffffff
call fcn.0041b790
xor eax, eax
jmp 0x42264c
call fcn.00596b38
mov ecx, eax
call fcn.0041af70
mov eax, dword [0x87a768]
mov dword [esp + 0x14], eax
mov cl, byte [str.text]
mov byte [esp + 0x898], 7
cmp cl, bl
mov esi, str.text
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov eax, 0x642791
je 0x42247d
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422476
sub eax, str.text
lea ecx, [esp + 0x18]
dec eax
mov edi, eax
lea edx, [edi + 0x20]
push edx
call fcn.0041b410
mov cl, byte [str.text]
mov eax, dword [esp + 0x18]
cmp cl, bl
je 0x4224ab
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
cmp cl, bl
jne 0x4224a0
mov byte [eax], bl
mov dword [esp + 0x20], edi
mov cl, byte [0x637ca8]
mov byte [esp + 0x898], 8
cmp cl, bl
mov esi, 0x637ca8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov eax, 0x637ca9
je 0x4224e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4224d9
sub eax, 0x637ca8
lea ecx, [esp + 0x24]
dec eax
mov edi, eax
lea edx, [edi + 0x20]
push edx
call fcn.0041b410
mov cl, byte [0x637ca8]
mov eax, dword [esp + 0x24]
cmp cl, bl
je 0x42250e
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
cmp cl, bl
jne 0x422503
mov byte [eax], bl
mov dword [esp + 0x2c], edi
push str.value
lea ecx, [esp + 0x4c]
mov byte [esp + 0x89c], 9
call fcn.00419f00
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x89c], 0xa
call fcn.00428690
mov esi, eax
cmp esi, ebx
je 0x4225f4
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x4225dd
lea edx, [esp + 0x24]
push edx
call fcn.0041b8d0
cmp eax, ebx
je 0x4225dd
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.0041a3b0
test eax, eax
je 0x4225dd
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041a450
mov ecx, eax
call fcn.00428540
mov ebp, eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x90]
push 0x400
lea eax, [esp + 0x4c]
push edx
push eax
mov ecx, esi
call fcn.0041a450
mov ecx, eax
call fcn.0041a0a0
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x18]
call fcn.005b48f8
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.00596b38
mov ecx, eax
call fcn.00428790
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push esi
call fcn.00428700
mov esi, eax
cmp esi, ebx
jne 0x422548
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x28]
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x20]
push eax
call fcn.005b44c3
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x898], 4
call fcn.005b4761
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005b44c3
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x898], 0xffffffff
call fcn.0041a520
mov eax, 1
mov ecx, dword [esp + 0x890]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88c
ret 8