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

Disassembly:
sub esp, 0x60
mov eax, dword [0x727a48]
push ebx
inc eax
push ebp
mov dword [esp + 0x14], eax
mov al, byte [0x7381c6]
push esi
push edi
test al, 1
je 0x422dbe
mov al, byte [0x73693f]
test al, al
je 0x422db2
xor eax, eax
mov edi, 0x738348
mov dword [esp + 0x10], eax
jmp 0x422d48
mov eax, dword [esp + 0x10]
mov ebx, eax
mov ebp, eax
xor esi, esi
and ebx, 4
and ebp, 2
and eax, 1
mov dword [esp + 0x68], eax
jmp 0x422d61
mov eax, dword [esp + 0x68]
mov ecx, esi
mov edx, esi
shr ecx, 3
and ecx, 0x18
or ecx, ebx
push ecx
mov ecx, esi
and ecx, 7
shr edx, 1
shl ecx, 1
and edx, 0x1c
or ecx, eax
or edx, ebp
shl ecx, 1
push edx
push ecx
call dword [0x7381d0]
add esp, 0xc
mov word [edi], ax
inc esi
add edi, 2
cmp esi, 0x100
jb 0x422d5d
mov ecx, dword [esp + 0x10]
inc ecx
cmp edi, 0x739348
mov dword [esp + 0x10], ecx
jb 0x422d44
mov byte [0x73693f], 0
mov dword [0x737b8c], 0x738348
jmp 0x422dc8
mov dword [0x737b8c], 0x73757c
mov edx, dword [0x737bac]
mov eax, dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x48], 0x100
mov eax, dword [edx + eax*4]
mov dword [esp + 0x2c], ebx
test eax, eax
mov dword [esp + 0x44], eax
jne 0x422df3
mov dword [esp + 0x44], 1
mov ecx, dword [0x737b58]
mov eax, dword [0x737ba4]
imul ecx, eax
mov esi, dword [esp + 0x74]
mov edx, dword [0x737b88]
add esi, ecx
mov ecx, dword [0x737b78]
imul ecx, eax
add ecx, edx
lea edx, [eax + eax*2]
mov ebp, eax
mov eax, dword [0x737ba8]
lea edi, [edx*4 + 0x735c68]
cmp ebp, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], ebp
ja 0x4233ff
mov ecx, ebp
mov esi, 0x105
shl ecx, 4
sub esi, ebp
add ecx, 0x734cb8
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
jmp 0x422e65
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
xor eax, eax
mov dl, byte [0x769644]
mov ax, word [ecx + 2]
shl eax, 0x13
sar eax, 0x13
mov dword [esp + 0x18], eax
xor eax, eax
mov ax, word [ecx]
movsx ecx, word [edi + 8]
shl ecx, 0x13
sar ecx, 0x13
mov dword [esp + 0x14], ecx
movsx ecx, word [edi + 0xa]
shl eax, 0x13
shl ecx, 0x13
sar eax, 0x13
sar ecx, 0x13
test dl, dl
mov dword [esp + 0x6c], ecx
jne 0x422ea8
mov esi, ebp
mov dl, byte [0x769645]
test dl, dl
jne 0x422ec8
sub eax, ecx
mov ebp, 0x3ff
cdq
idiv ebp
mov ebp, dword [esp + 0x30]
add esi, edx
mov dword [esp + 0x60], esi
jmp 0x422ed0
sub eax, ecx
add esi, eax
mov dword [esp + 0x60], esi
movsx eax, word [edi + 2]
mov edx, dword [esp + 0x14]
imul eax, esi
shl edx, 8
add eax, edx
mov dword [esp + 0x5c], eax
movsx eax, word [edi + 6]
imul eax, esi
shl ecx, 8
add eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x4233b3
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
lea ecx, [ecx*4 + 0xa8]
mov dword [esp + 0x64], ecx
mov eax, dword [0x737bac]
mov edx, dword [esp + 0x78]
cmp dword [eax + edx*4], 0
je 0x422f3e
mov ebx, dword [ecx + eax - 0x90]
mov ecx, dword [ecx + eax]
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ecx
jbe 0x42338d
jmp 0x422f42
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
lea ebp, [eax + ebx*2]
mov al, byte [0x769643]
test al, al
lea esi, [edx + ebx]
je 0x422f86
lea eax, [ecx - 1]
dec ebx
movsx ecx, word [edi]
movsx edi, word [edi + 4]
mov edx, ecx
mov dword [esp + 0x4c], eax
neg edx
mov dword [esp + 0x24], edx
mov edx, edi
neg edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x28], edx
jmp 0x422fa7
mov dword [esp + 0x10], ecx
mov eax, ebx
movsx ecx, word [edi]
movsx edi, word [edi + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
mov dl, byte [0x769645]
test dl, dl
jne 0x422fcb
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, edx
mov ebx, 0x3ff
cdq
idiv ebx
mov eax, dword [esp + 0x4c]
add edx, eax
jmp 0x422fd9
mov ebx, dword [esp + 0x14]
mov edx, eax
sub edx, ebx
mov ebx, dword [esp + 0x18]
add edx, ebx
mov bl, byte [0x769645]
imul ecx, edx
imul edi, edx
test bl, bl
jne 0x42317e
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
cmp eax, edx
je 0x42338d
mov eax, dword [esp + 0x58]
lea edx, [edi + eax]
mov eax, dword [esp + 0x5c]
add eax, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
mov ecx, edx
mov ebx, dword [0x727a48]
sar ecx, 8
sar eax, 8
and ecx, 0x3ff
and eax, 0x3ff
mov edx, ecx
mov edi, eax
and edx, 0xfffffff8
and ecx, 7
shl edx, 5
sar edi, 2
and edi, 0xfffffffe
add ebx, edx
xor edx, edx
and eax, 7
mov dl, byte [edi + ebx]
lea ecx, [ecx + edx*8]
lea edx, [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + edx*2]
mov ecx, dword [0x737bb4]
mov edx, eax
shr edx, 7
shr ecx, 7
and edx, ecx
mov cl, byte [edx + 0x726f18]
mov byte [0x737b94], cl
mov dl, byte [esi]
cmp cl, dl
jbe 0x42313f
test eax, eax
je 0x42313f
mov edx, dword [0x737b90]
mov cl, byte [edx + esi]
test cl, cl
je 0x423121
cmp cl, 1
mov ecx, dword [0x737bb0]
je 0x4230e5
mov edx, dword [0x737b8c]
and eax, ecx
xor ecx, ecx
mov cx, word [edx + eax*2]
mov edx, dword [0x737b5c]
xor eax, eax
mov ebx, ecx
mov ax, word [ebp + edx*2]
mov edx, dword [0x7273ec]
mov edi, eax
and ebx, edx
and edi, edx
mov edx, dword [0x4ac290]
add edi, ebx
and eax, ecx
shr edi, 1
and eax, edx
add edi, eax
mov eax, dword [0x737b60]
mov ax, word [eax + edi*2]
jmp 0x423133
mov edx, dword [0x737b8c]
and eax, ecx
xor ecx, ecx
mov cx, word [edx + eax*2]
mov eax, dword [0x737b98]
mov edx, dword [0x7273ec]
mov edi, eax
mov ebx, ecx
and edi, edx
and ebx, edx
mov edx, dword [0x4ac290]
add edi, ebx
and ecx, eax
mov eax, dword [0x737b60]
and ecx, edx
shr edi, 1
add edi, ecx
mov ax, word [eax + edi*2]
jmp 0x423133
mov ecx, dword [0x737bb0]
and eax, ecx
mov ecx, dword [0x737b8c]
mov ax, word [ecx + eax*2]
mov word [ebp], ax
mov dl, byte [0x737b94]
mov byte [esi], dl
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x54]
add ecx, edi
mov edi, dword [esp + 0x10]
add edx, ebx
add ebp, 2
inc esi
cmp ecx, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jne 0x423012
jmp 0x42338d
cmp eax, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x54], edx
je 0x42338d
mov eax, dword [esp + 0x58]
add edi, eax
mov eax, dword [esp + 0x5c]
add ecx, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
jmp 0x4231aa
mov bl, byte [0x769645]
mov eax, ecx
mov ecx, edi
sar eax, 8
sar ecx, 8
cmp byte [0x73833f], 0
je 0x4231cd
cmp bl, 2
jne 0x4231cd
and eax, 0x7ff
and ecx, 0x7ff
mov edi, ecx
or edi, eax
test edi, 0xfffffc00
jne 0x42325f
mov ebx, dword [0x727a48]
mov edx, ecx
and edx, 0xfffffff8
mov edi, eax
shl edx, 5
sar edi, 2
and edi, 0xfffffffe
add ebx, edx
xor edx, edx
and ecx, 7
mov dl, byte [edi + ebx]
and eax, 7
lea ecx, [ecx + edx*8]
lea edx, [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + edx*2]
mov ecx, dword [0x737bb4]
mov edx, eax
shr edx, 7
shr ecx, 7
and edx, ecx
mov cl, byte [edx + 0x726f18]
mov byte [0x737b94], cl
mov dl, byte [esi]
cmp cl, dl
jbe 0x423353
test eax, eax
je 0x423353
mov edx, dword [0x737b90]
mov cl, byte [edx + esi]
test cl, cl
je 0x423335
cmp cl, 1
mov ecx, dword [0x737bb0]
je 0x4232fd
jmp 0x4232d0
cmp bl, 3
jne 0x423353
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x1c]
and eax, 7
and edx, 7
lea edx, [edx + eax*8]
xor eax, eax
mov al, byte [ecx + edx*2]
mov ecx, dword [0x737bb4]
mov edx, eax
shr edx, 7
shr ecx, 7
and edx, ecx
mov cl, byte [edx + 0x726f18]
mov byte [0x737b94], cl
mov dl, byte [esi]
cmp cl, dl
jbe 0x423353
test eax, eax
je 0x423353
mov edx, dword [0x737b90]
mov cl, byte [edx + esi]
test cl, cl
je 0x423335
cmp cl, 1
mov ecx, dword [0x737bb0]
je 0x4232fd
mov edx, dword [0x737b8c]
and eax, ecx
xor ecx, ecx
mov cx, word [edx + eax*2]
mov edx, dword [0x737b5c]
xor eax, eax
mov ax, word [ebp + edx*2]
mov edx, dword [0x7273ec]
mov edi, edx
mov ebx, eax
and edi, ecx
and ebx, edx
add edi, ebx
jmp 0x42331e
mov edx, dword [0x737b8c]
and eax, ecx
xor ecx, ecx
mov cx, word [edx + eax*2]
mov eax, dword [0x737b98]
mov edx, dword [0x7273ec]
mov edi, eax
and edi, edx
and edx, ecx
add edi, edx
and eax, dword [0x4ac290]
shr edi, 1
and eax, ecx
add edi, eax
mov eax, dword [0x737b60]
mov ax, word [eax + edi*2]
jmp 0x423347
mov ecx, dword [0x737bb0]
and eax, ecx
mov ecx, dword [0x737b8c]
mov ax, word [ecx + eax*2]
mov word [ebp], ax
mov dl, byte [0x737b94]
mov byte [esi], dl
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x50]
add edi, ebx
add ecx, eax
mov eax, dword [esp + 0x10]
add ebp, 2
inc esi
cmp edx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
jne 0x4231a4
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
add ecx, 0x18
dec eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
jne 0x422f13
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
inc ebp
add ecx, 0x10
dec eax
mov dword [esp + 0x34], ecx
mov ecx, dword [0x737b78]
mov dword [esp + 0x38], eax
mov eax, dword [0x737b58]
add edx, ecx
add esi, eax
mov eax, dword [0x737ba8]
add edi, 0xc
cmp ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
jbe 0x422e5d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret