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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
mov esi, dword [esp + 0x104]
mov eax, dword [esp + 0x100]
lea ecx, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x100001
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x4021
call fcn.0043ff30
xor ebx, ebx
cmp eax, 0
jl 0x42318a
mov dword [esp], esi
call fcn.00418460
mov ecx, eax
and ecx, 0xfffffffd
mov edx, eax
or edx, 0xfffffffd
xor edx, 0xffffffff
imul edx, ecx
mov ecx, eax
and ecx, 2
or eax, 2
imul eax, ecx
add eax, edx
mov word [esp + 0xc8], ax
movzx eax, ax
add eax, 2
mov word [esp + 0xca], ax
mov dword [esp + 0xcc], esi
mov dword [esp], 0x848
call fcn.0043b030
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x74]
mov al, byte [esp + 0x84]
mov byte [esp + 0xb0], al
mov byte [esp + 0x88], 0x37
mov byte [esp + 0x89], 0x36
mov byte [esp + 0x8a], 0x35
mov byte [esp + 0x8b], 0x34
mov eax, 4
mov byte [esp + eax + 0x88], 0
add eax, 1
cmp eax, 5
jne 0x422974
xor eax, eax
cmp eax, 5
jae 0x4229cb
movzx edx, byte [esp + eax + 0x88]
mov edi, eax
and edi, 0x13d2e034
xor edi, 0x13d2e034
mov ecx, eax
and ecx, 0xec2d1fcb
sub ecx, edi
xor ecx, edx
mov edx, ecx
xor edx, 0xfd
shl ecx, 1
and ecx, 4
sub ecx, edx
add cl, 1
mov byte [esp + eax + 0x88], cl
add eax, 1
jmp 0x422986
mov edi, dword [esp + 0x88]
xor ebp, ebp
mov ecx, 2
cmp ebp, dword [0x44d2b8]
jb 0x4229e6
jmp 0x422aaa
mov edx, dword [0x44d2bc]
cmp dword [edx + ebp*8], 0x7fd4133f
sete bl
xor ecx, ecx
mov byte [esp + 0x3a], bl
test bl, 1
jne 0x422a0a
mov dl, byte [esp + 0x3a]
jmp 0x422a9b
mov ecx, dword [edx + ebp*8 + 4]
cmp ecx, edi
jne 0x422a1d
mov ecx, 2
mov dl, byte [esp + 0x3a]
jmp 0x422a9b
mov eax, dword [0x44d2c0]
xor edx, edx
lea edx, [esp + 0xe4]
lea ebx, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x848
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0
call fcn.0043d920
mov ecx, 1
mov dl, byte [esp + 0x3a]
test dl, 1
je 0x422aa2
jmp 0x422aaa
add ebp, 1
jmp 0x4229d4
cmp ecx, 2
je 0x422ab1
mov edi, eax
xor ebx, ebx
cmp edi, 0
jl 0x423081
mov dword [esp + 0x3c], 0
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x48]
jmp 0x422ace
mov edi, dword [eax + 0x3c]
shr edi, 1
mov ecx, eax
add ecx, 0x38
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x40], eax
mov eax, dword [eax + 0x38]
mov ecx, eax
xor ecx, 0xfffffbff
and ecx, eax
cmp ecx, 0
jne 0x422d71
mov al, byte [esp + 0x68]
mov byte [esp + 0x90], al
mov byte [esp + 0x6c], 0x9e
mov byte [esp + 0x6d], 0xcb
mov byte [esp + 0x6e], 0xca
mov byte [esp + 0x6f], 0xc9
mov eax, 4
mov byte [esp + eax + 0x6c], 0
add eax, 1
cmp eax, 8
jne 0x422b1d
xor eax, eax
mov dword [esp + 0xc4], ebx
cmp eax, 8
jae 0x422b9a
movzx ecx, byte [esp + eax + 0x6c]
mov edx, eax
and edx, 0x7a2ac5d1
mov ebx, eax
and ebx, 2
xor ebx, 2
mov ebp, eax
and ebp, 0x7a2ac5d1
imul ebp, ebx
mov ebx, eax
and ebx, 2
or edx, 2
imul edx, ebx
add edx, ebp
mov ebx, eax
xor ebx, 0x7a2ac5d3
add ebx, edx
mov edx, ebx
and edx, ecx
shl edx, 1
add ebx, ecx
sub ebx, edx
add bl, 0xe1
mov byte [esp + eax + 0x6c], bl
mov ebx, dword [esp + 0xc4]
mov ecx, eax
and ecx, 2
or eax, 0x53522bf2
add eax, ecx
add eax, 0xacadd40f
jmp 0x422b33
mov ebp, dword [esp + 0x40]
add ebp, 0x44
lea eax, [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004231a0
cmp eax, 0
setne al
test al, 1
jne 0x422bc4
jmp 0x422d71
mov al, byte [esp + 0x64]
mov byte [esp + 0x94], al
mov byte [esp + 0xb8], 0x82
mov byte [esp + 0xb9], 0x7f
mov byte [esp + 0xba], 0x80
mov byte [esp + 0xbb], 0x71
mov byte [esp + 0xbc], 0x70
mov byte [esp + 0xbd], 0x73
mov eax, 6
mov byte [esp + eax + 0xb8], 0
add eax, 1
cmp eax, 0xb
jne 0x422c04
xor eax, eax
cmp eax, 0xb
jae 0x422caa
movzx ecx, byte [esp + eax + 0xb8]
mov dword [esp + 0x44], esi
mov esi, eax
add esi, 0x1e3af395
mov ebx, 0x6a
sub ebx, eax
and ebx, 0xfb
mov edx, esi
and edx, 4
or ebx, edx
xor ebx, 4
mov edx, 0x6a
sub edx, eax
and ebx, edx
mov edx, ecx
xor edx, 0xffffffff
or ebx, edx
mov edx, ebx
add edx, 1
xor ebx, 0xffffffff
or ecx, ebx
or ecx, esi
add ecx, edx
add ecx, 0x68d93e16
mov edx, ecx
shl edx, 1
and edx, 0x79dcdc26
xor ecx, 0xbcee6e13
add ecx, edx
mov edx, ecx
add edx, 1
mov esi, 0x1e
sub esi, ecx
and esi, 0x13
and edx, 0xec
sub edx, esi
mov esi, dword [esp + 0x44]
mov byte [esp + eax + 0xb8], dl
add eax, 1
jmp 0x422c16
lea eax, [esp + 0xb8]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004231a0
cmp eax, 0
mov ebx, dword [esp + 0xc4]
jne 0x422cd2
jmp 0x422d73
mov eax, edi
add eax, 1
mov ecx, 2
mul ecx
seto dl
mov ecx, 0xffffffff
test dl, 1
jne 0x422ced
mov ecx, eax
mov dword [esp], ecx
call fcn.00408380
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov edi, eax
call fcn.004180c0
mov word [eax], 0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx]
mov ecx, edx
add ecx, 1
xor edx, 0xffffffff
or edx, 0x10
add edx, ecx
xor ecx, ecx
cmp edx, 0
setne cl
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp], edi
and ecx, 1
mov dword [esp + 4], ecx
call dword [esp + 0x108]
and al, 1
movzx eax, al
and bl, 1
movzx ecx, bl
or ecx, eax
cmp ecx, 0
setne bl
and bl, 1
mov dword [esp], edi
call fcn.00408390
jmp 0x422d73
jmp 0x422d73
cmp esi, 0
sete al
test al, 1
jne 0x422d83
mov edi, dword [esp + 0x3c]
jmp 0x422daa
mov dword [esp], 0x10900
call fcn.0043b030
mov edi, eax
cmp edi, 0
jne 0x422da6
xor esi, esi
mov eax, 2
mov edi, dword [esp + 0x40]
jmp 0x423073
mov esi, edi
jmp 0x422daa
cmp edi, esi
jne 0x42305a
mov al, byte [esp + 0x58]
mov byte [esp + 0x98], al
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5d], 8
mov byte [esp + 0x5e], 3
mov byte [esp + 0x5f], 3
mov eax, 4
mov byte [esp + eax + 0x5c], 0
add eax, 1
cmp eax, 5
jne 0x422dd6
mov dword [esp + 0x44], esi
xor eax, eax
cmp eax, 5
jae 0x422e11
movzx edx, byte [esp + eax + 0x5c]
mov ecx, edx
and ecx, eax
xor edx, 0xffffffff
mov esi, 0xff
sub esi, eax
and esi, edx
or ecx, esi
xor cl, 0xff
mov byte [esp + eax + 0x5c], cl
add eax, 1
jmp 0x422de9
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xd8], eax
mov al, byte [esp + 0x78]
mov byte [esp + 0xb4], al
mov byte [esp + 0x7c], 0x37
mov byte [esp + 0x7d], 0x36
mov byte [esp + 0x7e], 0x35
mov byte [esp + 0x7f], 0x34
mov eax, 4
mov byte [esp + eax + 0x7c], 0
add eax, 1
cmp eax, 5
jne 0x422e4b
xor eax, eax
cmp eax, 5
jae 0x422e99
movzx edx, byte [esp + eax + 0x7c]
mov esi, eax
and esi, 0x13d2e034
xor esi, 0x13d2e034
mov ecx, eax
and ecx, 0xec2d1fcb
sub ecx, esi
xor ecx, edx
mov edx, ecx
xor edx, 0xfd
shl ecx, 1
and ecx, 4
sub ecx, edx
add cl, 1
mov byte [esp + eax + 0x7c], cl
add eax, 1
jmp 0x422e5a
mov esi, dword [esp + 0x7c]
xor ebp, ebp
mov ecx, 2
cmp ebp, dword [0x44d2b8]
jb 0x422eb1
jmp 0x422f81
mov eax, esi
mov esi, dword [0x44d2bc]
cmp dword [esi + ebp*8], 0x7fd4133f
sete dl
xor ecx, ecx
mov byte [esp + 0x3b], dl
test dl, 1
jne 0x422ed5
mov esi, eax
jmp 0x422f70
mov ecx, dword [esi + ebp*8 + 4]
mov esi, eax
cmp ecx, esi
jne 0x422ee9
mov ecx, 2
jmp 0x422f70
mov eax, dword [0x44d2c0]
xor edx, edx
lea edx, [esp + 0xe4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x2c
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
lea eax, [esp + 0xc8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call fcn.0043d920
mov dword [esp + 0xd0], eax
mov ecx, 1
test byte [esp + 0x3b], 1
je 0x422f79
jmp 0x422f81
add ebp, 1
jmp 0x422e9f
cmp ecx, 2
je 0x422f8d
mov esi, dword [esp + 0xd0]
mov al, byte [esp + 0x4c]
mov byte [esp + 0x9c], al
mov byte [esp + 0x50], 0x25
mov byte [esp + 0x51], 0x21
mov byte [esp + 0x52], 0x22
mov byte [esp + 0x53], 0xa3
mov eax, 4
mov byte [esp + eax + 0x50], 0
add eax, 1
cmp eax, 8
jne 0x422fb1
xor eax, eax
cmp eax, 8
jae 0x422fef
mov dl, byte [esp + eax + 0x50]
mov ebp, ebx
mov ebx, eax
shl ebx, 1
and ebx, 0xf0
mov ecx, eax
xor ecx, 0xf8
add ecx, ebx
mov ebx, ebp
xor cl, dl
add cl, 0x28
mov byte [esp + eax + 0x50], cl
add eax, 1
jmp 0x422fc0
mov eax, dword [esp + 0x50]
cmp esi, eax
jne 0x423025
xor eax, eax
mov edx, edi
jmp 0x422ffd
mov ecx, edx
mov esi, dword [ecx]
cmp esi, 0
je 0x423014
shr esi, 2
shl esi, 2
mov edx, ecx
add edx, esi
mov eax, ecx
jmp 0x422ffd
cmp eax, 0
je 0x423021
mov dword [eax], 0
jmp 0x423021
xor esi, esi
jmp 0x423025
cmp esi, 0
jge 0x42303d
mov esi, dword [esp + 0x44]
mov dword [esp], esi
call fcn.0043b070
mov eax, 2
jmp 0x423045
xor eax, eax
mov esi, dword [esp + 0x44]
jmp 0x423045
cmp eax, 0
sete cl
test cl, 1
jne 0x42305a
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x40]
jmp 0x423073
mov eax, dword [edi]
cmp eax, 0
je 0x42306b
mov ecx, edi
add ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x423071
mov dword [esp + 0x3c], esi
jmp 0x423071
xor eax, eax
test eax, eax
mov eax, edi
je 0x422ace
jmp 0x42307f
jmp 0x423081
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043b070
mov eax, dword [esp + 0x74]
mov dword [esp + 0xd4], eax
mov al, byte [esp + 0xa0]
mov byte [esp + 0xac], al
mov byte [esp + 0xa4], 0x37
mov byte [esp + 0xa5], 0x36
mov byte [esp + 0xa6], 0x35
mov byte [esp + 0xa7], 0x34
mov eax, 4
mov byte [esp + eax + 0xa4], 0
add eax, 1
cmp eax, 5
jne 0x4230cb
xor eax, eax
cmp eax, 5
jae 0x423122
movzx edx, byte [esp + eax + 0xa4]
mov edi, eax
and edi, 0x13d2e034
xor edi, 0x13d2e034
mov ecx, eax
and ecx, 0xec2d1fcb
sub ecx, edi
xor ecx, edx
mov edx, ecx
xor edx, 0xfd
shl ecx, 1
and ecx, 4
sub ecx, edx
add cl, 1
mov byte [esp + eax + 0xa4], cl
add eax, 1
jmp 0x4230dd
mov edi, dword [esp + 0xa4]
xor ebp, ebp
cmp ebp, dword [0x44d2b8]
jb 0x423135
jmp 0x42318a
mov esi, ebx
mov eax, dword [0x44d2bc]
cmp dword [eax + ebp*8], 0x1b6183f2
sete bl
test bl, 1
jne 0x42314d
jmp 0x42317a
mov eax, dword [eax + ebp*8 + 4]
cmp eax, edi
je 0x42317a
mov ecx, dword [0x44d2c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], eax
call fcn.0043d920
test bl, 1
je 0x423183
mov ebx, esi
jmp 0x42318a
add ebp, 1
mov ebx, esi
jmp 0x42312b
and bl, 1
movzx eax, bl
add esp, 0xec
pop esi
pop edi
pop ebx
pop ebp
ret