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

Disassembly:
push 0xffffffffffffffff
push 0x4fc0e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x180]
mov esi, ecx
push edi
mov ecx, dword [esi + 0xd8]
call fcn.0046e890
mov ecx, dword [esi + 0xdc]
mov ebx, eax
push edi
mov dword [esp + 0x34], ebx
call fcn.0046e890
mov ecx, dword [esi + 0xd8]
push edi
mov dword [esp + 0x2c], eax
call fcn.0046e7e0
mov ecx, dword [esi + 0xdc]
mov ebp, eax
push edi
mov dword [esp + 0x38], ebp
call fcn.0046e7e0
lea ecx, [eax + ebp]
mov dword [esp + 0x18], eax
cmp ecx, 0x186a0
jg 0x4236e3
mov ecx, dword [esp + 0x184]
test ebp, ebp
jle 0x422d90
test eax, eax
jne 0x422d92
test ecx, ecx
je 0x422db9
push 0x15
push ebp
call fcn.0044f430
mov eax, 1
jmp 0x4236e5
test eax, eax
jle 0x422db9
test ebp, ebp
jne 0x422dc1
mov ecx, dword [esp + 0x188]
test ecx, ecx
je 0x4236e3
push 0x16
push eax
call fcn.0044f430
mov eax, 1
jmp 0x4236e5
test ebp, ebp
je 0x4236e3
test eax, eax
je 0x4236e3
test ebx, ebx
je 0x4236e3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4236e3
mov al, byte [0x579864]
test al, 1
jne 0x422e0a
mov dl, al
push 0x423710
or dl, 1
mov byte [0x579864], dl
mov edx, dword [0x574900]
mov dword [0x579860], edx
call fcn.004bf490
add esp, 4
mov al, byte [0x579864]
test al, 2
jne 0x422e35
mov dl, al
mov eax, dword [0x574900]
or dl, 2
push 0x423700
mov byte [0x579864], dl
mov dword [0x57985c], eax
call fcn.004bf490
add esp, 4
call fcn.0040b6b0
mov ecx, eax
call fcn.0050a440
mov ebx, dword [eax + 8]
shr ebx, 0xa
and ebx, 1
call fcn.0040b6b0
mov ecx, eax
call fcn.0050a440
mov eax, dword [eax + 8]
shr eax, 3
and eax, 1
mov dword [esp + 0x10], eax
jne 0x422e6d
test ebx, ebx
je 0x422f67
lea eax, [ebp + 1]
mov ecx, 0x579860
push eax
call fcn.004dc306
mov ecx, dword [esp + 0x30]
mov edi, eax
push ebp
push ecx
push edi
call fcn.004bf864
add esp, 0xc
mov ecx, 0x579860
mov word [edi + ebp*2], 0
push ebp
call fcn.004dc356
test ebx, ebx
je 0x422eae
push 0x579860
call fcn.0046d020
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x422ed6
lea eax, [ebp + 1]
mov ecx, 0x579860
push eax
call fcn.004dc306
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push ebp
mov ecx, 0x579860
call fcn.004dc356
mov eax, dword [esp + 0x18]
mov edx, dword [0x579860]
mov ecx, 0x57985c
mov dword [esp + 0x30], edx
lea ebp, [eax + 1]
push ebp
call fcn.004dc306
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, eax
push ecx
push edx
push edi
call fcn.004bf864
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
add esp, 0xc
mov word [edi + eax*2], 0
push ecx
mov ecx, 0x57985c
call fcn.004dc356
test ebx, ebx
je 0x422f31
push 0x57985c
call fcn.0046d020
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x422f5a
push ebp
mov ecx, 0x57985c
call fcn.004dc306
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
mov edx, dword [esp + 0x18]
mov ecx, 0x57985c
push edx
call fcn.004dc356
mov eax, dword [0x57985c]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xf0]
call fcn.0043ef60
xor edi, edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x178], edi
call fcn.00422a00
mov byte [esp + 0x178], 1
mov dword [esp + 0x10], edi
call fcn.0040b6b0
test byte [eax + 0x1a8], 0x80
je 0x422fe9
cmp ebp, 0x7530
jge 0x422fe9
mov edi, dword [esp + 0x18]
cmp edi, 0x7530
jge 0x422fed
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x114]
push edi
push ebp
push ecx
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.00422ab0
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xf0]
push eax
call fcn.0043f140
mov dword [esp + 0x10], eax
jmp 0x422fed
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x170]
cmp ebp, eax
jle 0x423014
lea eax, [ebp + 0x10]
cmp eax, 0x80
jge 0x423006
mov eax, 0x80
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x168]
call fcn.004d6087
cmp edi, dword [esi + 0x184]
jle 0x423039
lea eax, [edi + 0x10]
cmp eax, 0x80
jge 0x42302b
mov eax, 0x80
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x17c]
call fcn.004d6087
mov edi, dword [esi + 0x16c]
mov esi, dword [esi + 0x180]
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov dword [esp + 0x24], edi
shr ecx, 2
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x44]
call fcn.004d5ee2
lea ecx, [esp + 0x58]
mov byte [esp + 0x178], 2
call fcn.004d5ee2
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
mov byte [esp + 0x178], 3
je 0x42326a
lea ecx, [esp + 0xf0]
call fcn.00440570
mov edi, eax
xor ebp, ebp
test edi, edi
mov dword [esp + 0x10], edi
jl 0x4232d2
xor ebx, ebx
cmp ebp, edi
jge 0x423185
push ebp
lea ecx, [esp + 0xf4]
call fcn.00440580
mov ebx, eax
test ebx, ebx
je 0x423185
test esi, esi
je 0x42325d
cmp dword [esi], 2
jne 0x423185
mov eax, dword [ebx]
test eax, eax
jne 0x423108
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add edx, ecx
cmp edx, dword [ebx + 8]
je 0x42311a
cmp eax, 1
jne 0x423185
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
add edx, ecx
cmp edx, dword [ebx + 4]
jne 0x423185
test eax, eax
jne 0x423123
mov eax, dword [esi + 4]
jmp 0x423129
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x4c]
add eax, ecx
and eax, 0xffff
xor ecx, ecx
mov cx, word [esi + 4]
shl eax, 0x10
or eax, ecx
lea ecx, [esp + 0x44]
push eax
push edx
call fcn.004d5f6e
cmp dword [ebx], 0
jne 0x423157
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
jmp 0x42315d
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x60]
add eax, ecx
and eax, 0xffff
xor ecx, ecx
mov cx, word [esi + 8]
shl eax, 0x10
or eax, ecx
lea ecx, [esp + 0x58]
push eax
push edx
call fcn.004d5f6e
xor ebx, ebx
jmp 0x42325d
test esi, esi
je 0x42325d
mov eax, dword [esi]
test eax, eax
jne 0x4231d9
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x88]
test eax, eax
jle 0x4231a8
mov edx, dword [ecx + eax*4 - 4]
inc edx
jmp 0x4231aa
xor edx, edx
mov esi, dword [esi + 0xc]
add esi, eax
mov eax, 0x1010101
mov ecx, dword [ecx + esi*4 - 4]
mov esi, dword [esp + 0x2c]
sub ecx, edx
inc ecx
lea edi, [edx + esi]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
jmp 0x42325d
cmp eax, 1
jne 0x423209
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x74]
test eax, eax
jle 0x4231f0
mov edx, dword [ecx + eax*4 - 4]
inc edx
jmp 0x4231f2
xor edx, edx
mov esi, dword [esi + 0xc]
add esi, eax
mov eax, 0x1010101
mov ecx, dword [ecx + esi*4 - 4]
mov esi, dword [esp + 0x24]
sub ecx, edx
inc ecx
jmp 0x4231bf
mov cx, word [esi + 4]
mov ax, cx
and ecx, 0xffff
add ax, word [esi + 0xc]
and eax, 0xffff
shl eax, 0x10
or eax, ecx
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.004d5f6e
mov cx, word [esi + 8]
mov ax, cx
and ecx, 0xffff
add ax, word [esi + 0xc]
and eax, 0xffff
shl eax, 0x10
or eax, ecx
mov ecx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004d5f6e
inc ebp
mov esi, ebx
cmp ebp, edi
jle 0x4230c3
jmp 0x4232d2
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x78]
call fcn.004d6b82
mov edx, dword [esp + 0x74]
dec ebp
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x8c]
mov dword [edx], ebp
call fcn.004d6b82
mov eax, dword [esp + 0x88]
dec ebx
mov dword [eax], ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
and ecx, 0xffff
shl ecx, 0x10
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.004d5f6e
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x60]
and eax, 0xffff
shl eax, 0x10
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004d5f6e
mov eax, dword [esp + 0x4c]
xor edx, edx
test eax, eax
mov dword [esp + 0x10], edx
jle 0x4235f0
jmp 0x4232ea
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x74]
xor eax, eax
mov ax, word [ecx + edx*4]
mov ecx, dword [ecx + edx*4]
shr ecx, 0x10
test eax, eax
jle 0x423309
mov ebx, dword [esi + eax*4 - 4]
inc ebx
jmp 0x42330b
xor ebx, ebx
mov ecx, dword [esi + ecx*4 - 4]
mov esi, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x20], ebx
mov ax, word [esi + edx*4]
mov edx, dword [esi + edx*4]
mov esi, dword [esp + 0x88]
shr edx, 0x10
test eax, eax
jle 0x423335
mov ebp, dword [esi + eax*4 - 4]
inc ebp
jmp 0x423337
xor ebp, ebp
mov eax, dword [esi + edx*4 - 4]
mov edx, dword [esp + 0x28]
sub eax, ebp
sub ecx, ebx
inc ecx
lea edi, [edx + ebp*2]
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
push esi
push ecx
lea eax, [eax + ebx*2]
mov dword [esp + 0x24], ecx
push edi
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x4c], eax
call fcn.00422810
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
cmp eax, esi
jne 0x4233b0
call fcn.0040b6b0
test byte [eax + 0x1a8], 0x80
je 0x4233b0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x4233b0
mov eax, dword [esp + 0x3c]
mov dx, word [eax]
cmp dx, word [edi]
jne 0x4233a7
inc dword [esp + 0x14]
add edi, 2
add eax, 2
dec ecx
jne 0x42339b
lea eax, [esp + 0xd8]
lea ecx, [esp + 0xf0]
push eax
call fcn.0043f140
test eax, eax
jne 0x423413
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x423537
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, 0x1010101
lea edi, [ebx + edx]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x2c]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
lea edi, [edx + ebp]
mov edx, ecx
mov eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4235db
lea ecx, [esp + 0xf0]
call fcn.00440570
xor esi, esi
xor ecx, ecx
test eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
jle 0x4234fc
push ecx
lea ecx, [esp + 0xf4]
call fcn.00440580
mov edx, eax
mov eax, dword [edx]
sub eax, 0
je 0x4234bf
dec eax
je 0x42349a
dec eax
jne 0x4234e7
mov edi, dword [edx + 4]
mov ecx, dword [edx + 0xc]
add edi, ebx
mov ebx, dword [esp + 0x24]
lea esi, [esi + ecx*2]
add edi, ebx
mov ebx, ecx
mov eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x2c]
add edi, ebp
add edi, edx
mov edx, ecx
mov eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4234e3
mov edi, dword [edx + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
add edi, ebx
add esi, ecx
add edi, edx
mov edx, ecx
mov eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4234e7
mov edi, dword [edx + 8]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edx + 0xc]
add edi, ebp
add edi, ebx
mov ebx, ecx
mov eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
add esi, dword [edx + 0xc]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
inc ecx
cmp ecx, eax
mov dword [esp + 0x40], ecx
jl 0x423433
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4235db
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, eax
sub eax, esi
lea edx, [ecx + ecx]
sub eax, edx
test eax, eax
jle 0x4235db
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
cdq
idiv dword [esp + 0x1c]
cmp eax, 0x1e
jge 0x4235db
xor edi, edi
call fcn.0040b6b0
mov eax, dword [eax + 0x28]
xor esi, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4235db
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
lea ecx, [edx + ebp*2]
add eax, ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
add ebp, ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
xor cl, cl
mov dx, word [edx]
cmp dx, word [ebx]
je 0x423586
mov cl, 1
mov byte [esi + eax], cl
mov byte [esi + ebp], cl
test cl, cl
jne 0x423593
inc edi
jmp 0x4235b9
test edi, edi
jle 0x4235b7
cmp edi, dword [esp + 0x38]
jge 0x4235b7
cmp edi, 1
jl 0x4235b7
lea edx, [esi + ebp - 1]
lea ecx, [esi + eax - 1]
mov ebx, edi
mov byte [ecx], 1
mov byte [edx], 1
dec ecx
dec edx
dec ebx
jne 0x4235ac
xor edi, edi
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, 2
inc esi
add ebx, ecx
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
cmp esi, ecx
mov dword [esp + 0x14], edx
jl 0x423572
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4232e6
mov esi, dword [esp + 0x184]
test esi, esi
je 0x423619
mov edi, dword [esp + 0x34]
mov ecx, esi
lea eax, [edi + 2]
push eax
call fcn.0044f460
mov ecx, dword [esp + 0x24]
push edi
push ecx
push esi
call fcn.00422c70
add esp, 0xc
mov esi, dword [esp + 0x188]
test esi, esi
je 0x423642
mov edi, dword [esp + 0x18]
mov ecx, esi
lea edx, [edi + 2]
push edx
call fcn.0044f460
mov eax, dword [esp + 0x2c]
push edi
push eax
push esi
call fcn.00422c70
add esp, 0xc
lea ecx, [esp + 0x58]
mov byte [esp + 0x178], 2
call fcn.004d5f15
lea ecx, [esp + 0x44]
mov byte [esp + 0x178], 1
call fcn.004d5f15
lea ecx, [esp + 0xc0]
mov byte [esp + 0x178], 7
call fcn.004dbec1
lea ecx, [esp + 0xac]
mov byte [esp + 0x178], 6
call fcn.004d5f15
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 5
call fcn.004d5f15
lea ecx, [esp + 0x84]
mov byte [esp + 0x178], 4
call fcn.004d5f15
lea ecx, [esp + 0x70]
mov byte [esp + 0x178], 0
call fcn.004d5f15
lea ecx, [esp + 0xf0]
mov dword [esp + 0x178], 0xffffffff
call fcn.0043f040
mov eax, 1
jmp 0x4236e5
xor eax, eax
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x16c
ret 0xc