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

Disassembly:
push 0xffffffffffffffff
push 0x528ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov esi, ecx
mov ebx, edx
mov edi, dword [esp + 0x90]
movsx eax, byte [edi + 1]
movsx ecx, byte [ebx + 1]
cmp eax, 1
je 0x422e19
cmp ecx, 1
je 0x42302c
cmp eax, 4
je 0x422de5
cmp ecx, 4
je 0x422de5
cmp eax, 2
je 0x422d8f
cmp ecx, 2
je 0x422d8f
cmp eax, 3
je 0x422d18
cmp ecx, 3
jne 0x423292
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
push ebp
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x94], 0
call fcn.0041dfc0
push ebp
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0041dfc0
lea eax, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.00425a10
lea edi, [esp + 0x44]
mov bl, al
mov dword [esp + 0x88], 0xffffffff
call fcn.0041b180
mov al, bl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push ebp
push esi
mov ecx, ebx
call fcn.0041d5f0
fstp qword [esp + 0x1c]
push ebp
push esi
mov ecx, edi
call fcn.0041d5f0
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x422dcc
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push ebp
push esi
mov ecx, ebx
call fcn.0041cff0
push ebp
push esi
mov ecx, edi
mov bl, al
call fcn.0041cff0
xor edx, edx
cmp al, bl
setne dl
mov al, dl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
cmp ecx, 1
jne 0x423024
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
push ebp
push esi
lea eax, [esp + 0x68]
push eax
mov ecx, edi
mov dword [esp + 0x94], 1
call fcn.0041ea90
push ebp
push esi
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call fcn.0041ea90
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x68]
je 0x422f71
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
jmp 0x422e80
mov dword [esp + 0x90], eax
cmp eax, ecx
je 0x422f5c
mov esi, dword [ebp]
mov ebx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x28]
push esi
push eax
mov byte [esp + 0x90], 2
call fcn.0041b4a0
mov ecx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
mov edi, eax
call fcn.0041b4a0
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 0x10
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x422efe
test dx, dx
je 0x422efa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x422efe
add eax, 4
add ecx, 4
test dx, dx
jne 0x422ed8
xor eax, eax
jmp 0x422f03
sbb eax, eax
sbb eax, 0xffffffff
mov byte [esp + 0x88], 1
test eax, eax
mov eax, dword [esi]
jne 0x422fb0
cmp eax, ebx
je 0x422f32
lea esp, [esp]
mov edi, dword [eax]
push eax
call dword [0x56b964]
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x422f20
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esi], ebx
mov ecx, dword [esp + 0x58]
add eax, 8
mov dword [esp + 0x90], eax
cmp eax, ecx
jne 0x422e8f
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
add edx, 8
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x68]
jne 0x422e80
mov dword [esp + 0x88], 0xffffffff
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
cmp eax, edi
je 0x422fa2
lea ebx, [ebx]
mov esi, dword [eax]
push eax
call dword [0x56b964]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x422f90
mov eax, dword [esp + 0x40]
mov dword [ebx], edi
mov dword [ebx + 4], eax
jmp 0x423292
cmp eax, ebx
je 0x422fc6
mov edi, dword [eax]
push eax
call dword [0x56b964]
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x422fb4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x88], 0xffffffff
mov edi, dword [esp + 0x3c]
mov dword [esi], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [ebx]
cmp eax, edi
je 0x423002
jmp 0x422ff0
mov esi, dword [eax]
push eax
call dword [0x56b964]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x422ff0
mov edx, dword [esp + 0x40]
mov dword [ebx], edi
mov dword [ebx + 4], edx
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov eax, edi
mov edi, ebx
mov ebx, eax
mov eax, ecx
cmp eax, 4
jne 0x423065
push ebp
push esi
mov ecx, ebx
call fcn.0041cff0
push ebp
push esi
mov ecx, edi
mov bl, al
call fcn.0041cff0
xor ecx, ecx
cmp al, bl
setne cl
mov al, cl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
cmp eax, 2
jne 0x4231a4
mov eax, dword [ebp]
mov edx, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
push ebp
push esi
mov ecx, edi
mov dword [esp + 0x90], 3
call fcn.0041d5f0
fstp qword [esp + 0x14]
push ebp
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.0041ea90
mov esi, dword [esp + 0x64]
cmp esi, dword [esp + 0x68]
je 0x423139
mov ebx, 0x7fc00000
nop
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
push eax
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov byte [esp + 0x90], 4
call fcn.0041b4a0
mov edi, dword [eax]
add esp, 8
mov eax, edi
call fcn.0041be40
test al, al
jne 0x423109
mov dword [esp + 0x90], ebx
fld dword [esp + 0x90]
jmp 0x423114
push 0
push edi
call fcn.00508242
add esp, 8
fcomp qword [esp + 0x14]
mov byte [esp + 0x88], 3
lea edi, [esp + 0x44]
fnstsw ax
test ah, 0x44
jp 0x423172
call fcn.0041b180
add esi, 8
cmp esi, dword [esp + 0x68]
jne 0x4230c0
mov dword [esp + 0x88], 0xffffffff
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
cmp eax, edi
je 0x423164
mov esi, dword [eax]
push eax
call dword [0x56b964]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x423152
mov eax, dword [esp + 0x40]
mov dword [ebx], edi
mov dword [ebx + 4], eax
jmp 0x423292
call fcn.0041b180
lea edi, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.0041b180
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
cmp eax, 3
jne 0x423292
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
push ebp
push esi
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov dword [esp + 0x94], 5
call fcn.0041dfc0
push ebp
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.0041ea90
mov eax, dword [esp + 0x74]
mov esi, eax
cmp eax, dword [esp + 0x78]
je 0x42327e
mov bl, 6
lea ebx, [ebx]
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
push eax
lea edx, [esp + 0x34]
push edx
mov ecx, esi
mov byte [esp + 0x90], bl
call fcn.0041b4a0
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
add esp, 8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423257
test dx, dx
je 0x423253
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423257
add eax, 4
add ecx, 4
test dx, dx
jne 0x423231
xor eax, eax
jmp 0x42325c
sbb eax, eax
sbb eax, 0xffffffff
mov byte [esp + 0x88], 5
lea edi, [esp + 0x44]
test eax, eax
jne 0x423172
call fcn.0041b180
add esi, 8
cmp esi, dword [esp + 0x78]
jne 0x423200
lea edi, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.0041b180
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret