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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1190
call fcn.00436ff0
mov esi, esp
mov dword [esi + 0x1178], ebp
mov dword [esi + 0x117c], esp
mov dword [esi + 0x1188], 0xffffffff
mov dword [esi + 0x1184], 0x436690
lea eax, [esi + 0x1180]
mov edi, dword fs:[0]
mov dword [esi + 0x1180], edi
mov dword fs:[0], eax
mov dword [esi + 0x4c], edx
mov eax, dword [ecx]
cmp byte [eax], 0
jne 0x422180
mov edi, dword [ecx + 4]
cmp dword [edi], 0x64
ja 0x4221c2
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 0
mov dword [esi + 0x14], edx
lea edi, [esi + 0xe]
mov dword [esi + 0x48], ecx
mov ebx, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], eax
lea eax, [esi + 0xf]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
call fcn.0040fbd0
test eax, eax
je 0x4221c9
cmp byte [esi + 0xf], 0
je 0x422938
xor eax, eax
jmp 0x4229ae
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], edx
mov eax, dword [ecx]
xor eax, 1
or eax, dword [ecx + 4]
jne 0x422495
mov eax, dword [ecx + 8]
lea ebx, [esi + 0x180]
mov dword [esi + 0x14], eax
push 0xff8
push 0
push ebx
call fcn.00439140
add esp, 0xc
mov edi, dword [0x45298c]
mov dword [esi + 0x1d0], 0x7d0
mov dword [esi + 0x180], 0x58
test edi, edi
jne 0x422236
push 0x445ab2
push dword [0x45296c]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4229e4
mov edi, eax
mov dword [0x45298c], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x1188], 0
lea ecx, [esi + 0x80]
push ebx
push ecx
push 0
push dword [esi + 0x14]
push eax
call edi
lea edi, [esi + 0x80]
cmp eax, 1
jne 0x422925
mov ecx, dword [esi + 0x1d0]
mov eax, dword [esi + 0x1cc]
xorps xmm0, xmm0
lea edx, [esi + 0x1d4]
mov ebx, 0x100
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], edi
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x160], xmm0
movaps xmmword [esi + 0x150], xmm0
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
dec ecx
cmp eax, ecx
cmovbe ecx, eax
lea eax, [esi + ecx*2 + 0x1d4]
xor ecx, ecx
mov dword [esi + 0x1c], eax
test cx, cx
je 0x422370
nop word cs:[eax + eax]
nop dword [eax]
shr ecx, 0x10
mov eax, ecx
mov ecx, eax
and ecx, 0xf800
cmp ecx, 0xd800
jne 0x42238e
movzx edi, ax
mov ecx, 0xfffd
mov dword [esi], ebx
mov dword [esi + 4], 0
cmp edi, 0xdbff
jbe 0x4223c0
mov ebx, dword [esi]
jmp 0x422450
cmp edx, eax
je 0x422765
movzx eax, word [edx]
add edx, 2
mov ecx, eax
and ecx, 0xf800
cmp ecx, 0xd800
je 0x422345
movzx ecx, ax
cmp ecx, 0x80
jae 0x422420
mov eax, 1
mov dword [esi + 4], 0
mov edi, ebx
sub edi, eax
mov dword [esi], edi
ja 0x422461
jmp 0x422765
mov edi, dword [esi + 0x1c]
cmp edx, edi
je 0x422438
movzx edi, word [edx]
add edx, 2
mov dword [esi + 8], edx
mov ebx, edi
and ebx, 0xfc00
cmp ebx, 0xdc00
jne 0x42243e
add eax, 0x2800
lea ecx, [edi + 0x2400]
mov ebx, dword [esi]
mov dword [esi + 4], 0
movzx edx, ax
movzx ecx, cx
mov eax, 4
shl edx, 0xa
or ecx, edx
mov edx, dword [esi + 8]
add ecx, 0x10000
mov edi, ebx
sub edi, eax
mov dword [esi], edi
ja 0x422461
jmp 0x422765
movzx eax, ax
mov dword [esi + 4], 0
cmp eax, 0x800
mov eax, 2
jae 0x422450
jmp 0x422455
mov ebx, dword [esi]
mov edx, edi
jmp 0x422450
movzx eax, di
mov edx, dword [esi + 8]
mov ebx, dword [esi]
shl eax, 0x10
or eax, 1
mov dword [esi + 4], eax
nop
mov eax, 3
mov edi, ebx
sub edi, eax
mov dword [esi], edi
jbe 0x422765
mov dword [esi + 8], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x24], eax
push ebx
call fcn.0040fdc0
add esp, 4
mov eax, dword [esi + 0x24]
mov ebx, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
add dword [esi + 0x20], eax
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x1c]
test cx, cx
jne 0x422330
jmp 0x422370
lea eax, [esi + 0x180]
push 0xff8
push 0
push eax
call fcn.00439140
add esp, 0xc
mov edi, dword [0x452998]
mov dword [esi + 0x1d0], 0x7d0
mov dword [esi + 0x180], 0x58
test edi, edi
jne 0x4224e8
push str.SymFromInlineContextW
push dword [0x45296c]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x422a07
mov edi, eax
mov dword [0x452998], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov ebx, dword [esi + 0x14]
xor edx, edx
mov dword [esi + 8], eax
lea eax, [esi + 0x80]
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x1188], 0
mov ecx, dword [ebx + 8]
sub ecx, 1
cmovb ecx, edx
mov edx, dword [ebx + 0x114]
lea ebx, [esi + 0x180]
push ebx
push eax
push edx
push 0
push ecx
push dword [esi + 8]
call edi
lea edi, [esi + 0x80]
cmp eax, 1
jne 0x422925
mov ecx, dword [esi + 0x1d0]
mov eax, dword [esi + 0x1cc]
xorps xmm0, xmm0
lea edx, [esi + 0x1d4]
mov ebx, 0x100
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], edi
movaps xmmword [esi + 0x170], xmm0
movaps xmmword [esi + 0x160], xmm0
movaps xmmword [esi + 0x150], xmm0
movaps xmmword [esi + 0x140], xmm0
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
dec ecx
cmp eax, ecx
cmovbe ecx, eax
lea eax, [esi + ecx*2 + 0x1d4]
xor ecx, ecx
mov dword [esi + 0x1c], eax
test cx, cx
je 0x422640
nop word cs:[eax + eax]
nop dword [eax]
shr ecx, 0x10
mov eax, ecx
mov ecx, eax
and ecx, 0xf800
cmp ecx, 0xd800
jne 0x42265e
movzx edi, ax
mov ecx, 0xfffd
mov dword [esi], ebx
mov dword [esi + 4], 0
cmp edi, 0xdbff
jbe 0x422690
mov ebx, dword [esi]
jmp 0x422720
cmp edx, eax
je 0x42280e
movzx eax, word [edx]
add edx, 2
mov ecx, eax
and ecx, 0xf800
cmp ecx, 0xd800
je 0x422615
movzx ecx, ax
cmp ecx, 0x80
jae 0x4226f0
mov eax, 1
mov dword [esi + 4], 0
mov edi, ebx
sub edi, eax
mov dword [esi], edi
ja 0x422731
jmp 0x42280e
mov edi, dword [esi + 0x1c]
cmp edx, edi
je 0x422708
movzx edi, word [edx]
add edx, 2
mov dword [esi + 8], edx
mov ebx, edi
and ebx, 0xfc00
cmp ebx, 0xdc00
jne 0x42270e
add eax, 0x2800
lea ecx, [edi + 0x2400]
mov ebx, dword [esi]
mov dword [esi + 4], 0
movzx edx, ax
movzx ecx, cx
mov eax, 4
shl edx, 0xa
or ecx, edx
mov edx, dword [esi + 8]
add ecx, 0x10000
mov edi, ebx
sub edi, eax
mov dword [esi], edi
ja 0x422731
jmp 0x42280e
movzx eax, ax
mov dword [esi + 4], 0
cmp eax, 0x800
mov eax, 2
jae 0x422720
jmp 0x422725
mov ebx, dword [esi]
mov edx, edi
jmp 0x422720
movzx eax, di
mov edx, dword [esi + 8]
mov ebx, dword [esi]
shl eax, 0x10
or eax, 1
mov dword [esi + 4], eax
nop
mov eax, 3
mov edi, ebx
sub edi, eax
mov dword [esi], edi
jbe 0x42280e
mov dword [esi + 8], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x24], eax
push ebx
call fcn.0040fdc0
add esp, 4
mov eax, dword [esi + 0x24]
mov ebx, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
add dword [esi + 0x20], eax
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x1c]
test cx, cx
jne 0x422600
jmp 0x422640
cmp dword [esi + 0x10], 0x101
jae 0x4229c3
mov edi, dword [0x452990]
xorps xmm0, xmm0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
movaps xmmword [esi + 0x50], xmm0
mov dword [esi + 0x50], 0x18
test edi, edi
jne 0x4227b7
push str.SymGetLineFromAddrW64
push dword [0x45296c]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x422a2a
mov edi, eax
mov dword [0x452990], eax
call sub.KERNEL32.dll_GetCurrentProcess
lea ecx, [esi + 0x50]
mov dword [esi + 0x28], 0
lea edx, [esi + 0x28]
push ecx
push edx
push 0
push dword [esi + 0x14]
push eax
call edi
cmp eax, 1
jne 0x4228bb
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
xor edi, edi
nop word cs:[eax + eax]
nop
mov ecx, edi
inc edi
cmp word [eax + ecx*2], 0
jne 0x4227f0
mov edi, 1
mov dword [esi + 0x1188], 0
jmp 0x4228bd
cmp dword [esi + 0x10], 0x101
jae 0x4229d5
mov edi, dword [0x45299c]
xorps xmm0, xmm0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
movaps xmmword [esi + 0x50], xmm0
mov dword [esi + 0x50], 0x18
test edi, edi
jne 0x422860
push str.SymGetLineFromInlineContextW
push dword [0x45296c]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x422a43
mov edi, eax
mov dword [0x45299c], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov edx, dword [esi + 0x14]
xor ebx, ebx
mov dword [esi + 0x28], 0
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0x114]
sub ecx, 1
cmovb ecx, ebx
lea ebx, [esi + 0x50]
push ebx
lea ebx, [esi + 0x28]
push ebx
push 0
push 0
push edx
push 0
push ecx
push eax
call edi
cmp eax, 1
jne 0x4228f1
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
xor edi, edi
mov ecx, edi
inc edi
cmp word [eax + ecx*2], 0
jne 0x4228a0
mov ebx, 1
mov dword [esi + 0x1188], 0
jmp 0x4228f3
xor edi, edi
lea ebx, [esi + 0x80]
mov dword [esi + 0x28], ebx
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x2c], ebx
mov ebx, dword [esi + 0x1b8]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x68]
lea edx, [esi + 0x28]
call fcn.00422af0
jmp 0x422925
xor ebx, ebx
lea edi, [esi + 0x80]
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x10]
mov dword [esi + 0x2c], edi
mov edi, dword [esi + 0x1b8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x68]
lea edx, [esi + 0x28]
call fcn.00422af0
mov eax, dword [esi + 0x18]
push eax
call sub.KERNEL32.dll_ReleaseMutex
cmp byte [esi + 0xf], 0
jne 0x4221c2
cmp byte [esi + 0xe], 0
mov ecx, dword [esi + 0x48]
jne 0x4229a0
mov eax, dword [ecx + 8]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x2c], 0
mov edx, dword [eax + 8]
mov dword [esi + 0x188], 4
mov dword [esi + 0x80], 2
mov dword [esi + 0x1188], 1
sub esp, 4
lea eax, [esi + 0x80]
lea edi, [esi + 0x180]
lea ecx, [esi + 0x28]
push 0
push eax
push edi
call fcn.0040e020
add esp, 0x10
mov edx, dword [esi + 0x48]
mov ecx, dword [edx + 0xc]
mov byte [ecx], al
mov ecx, edx
mov eax, dword [esi + 0x28]
inc dword [eax + 4]
mov eax, dword [ecx + 4]
inc dword [eax]
mov eax, dword [ecx + 0xc]
cmp byte [eax], 1
setne al
mov ecx, dword [esi + 0x1180]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x10]
mov edx, 0x100
call fcn.0040ff00
jmp 0x422a5a
mov ecx, dword [esi + 0x10]
mov edx, 0x100
call fcn.0040ff00
jmp 0x422a5a
mov dword [esi + 0x1188], 0
mov ecx, 0x4494d9
mov edx, 0x2b
push 0x449484
call fcn.004104b0
add esp, 4
jmp 0x422a5a
mov dword [esi + 0x1188], 0
mov ecx, 0x4494d9
mov edx, 0x2b
push 0x449484
call fcn.004104b0
add esp, 4
jmp 0x422a5a
mov ecx, 0x4494d9
mov edx, 0x2b
push 0x449484
call fcn.004104b0
add esp, 4
jmp 0x422a5a
mov ecx, 0x4494d9
mov edx, 0x2b
push 0x449484
call fcn.004104b0
add esp, 4
ud2