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

Disassembly:
push 0xffffffffffffffff
push 0x48bf25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xedc
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x7c]
call fcn.0043dcc0
lea eax, [esp + 0xbc]
xor ebx, ebx
push eax
mov dword [esp + 0xef8], ebx
call fcn.00419e00
add esp, 4
mov eax, dword [eax + 4]
mov byte [esp + 0xef4], 1
cmp eax, ebx
mov esi, 0x490148
je 0x422267
mov esi, eax
lea ecx, [esp + 0xac]
push ecx
call fcn.00419c00
push 0x49d2a4
lea edx, [esp + 0xd4]
push eax
push edx
mov byte [esp + 0xf04], 2
call fcn.004158e0
mov ecx, dword [esp + 0xf0c]
lea edx, [esp + 0xac]
push ecx
push eax
push edx
mov byte [esp + 0xf10], 3
call fcn.004158e0
add esp, 0x1c
mov eax, dword [eax + 4]
mov byte [esp + 0xef4], 4
cmp eax, ebx
jne 0x4222c4
mov eax, 0x490148
push esi
push eax
lea ecx, [esp + 0x84]
call fcn.0043df20
test eax, eax
push 1
lea ecx, [esp + 0xa0]
sete byte [esp + 0x17]
mov byte [esp + 0xef8], 3
call fcn.004024d0
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0xef8], 2
call fcn.004024d0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xef8], 1
call fcn.004024d0
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0xef8], bl
call fcn.004024d0
cmp byte [esp + 0x13], bl
je 0x422351
lea ecx, [esp + 0x7c]
mov dword [esp + 0xef4], 0xffffffff
call fcn.0043dd00
xor eax, eax
jmp 0x422900
lea ecx, [esp + 0xdc]
call fcn.0043cff0
lea eax, [esp + 0x7c]
lea ecx, [esp + 0xdc]
push eax
mov byte [esp + 0xef8], 5
call fcn.0043d060
mov cl, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x24], dl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edi, 0x490164
or ebp, 0xffffffff
mov dword [esp + 0x34], edi
mov word [esp + 0x38], bp
mov word [esp + 0x3a], bx
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0xef8], 8
mov byte [esp + 0x44], al
call fcn.004024d0
lea ecx, [esp + 0x13]
mov byte [esp + 0xef4], 9
push ecx
lea ecx, [esp + 0x54]
call fcn.0041aeb0
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041b990
lea edx, [esp + 0x14]
lea ecx, [esp + 0xdc]
push edx
mov byte [esp + 0xef8], 0xb
call fcn.0043d8a0
test eax, eax
jne 0x4224ae
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xef8], 0xc
call fcn.004024d0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xef8], 8
call fcn.004024d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], edi
mov byte [esp + 0xefc], 6
call fcn.00420580
mov edx, dword [esp + 0x28]
push edx
call fcn.0047e190
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xefc], 5
call fcn.00422ba0
mov edx, dword [esp + 0x18]
push edx
jmp 0x422855
test byte [esp + 0x3c], 1
je 0x422547
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x422525
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 5
je 0x422525
push 0xac
call fcn.0047e9c2
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, ebx
mov byte [esp + 0xef4], 0xd
je 0x4224f4
mov ecx, eax
call fcn.00422c00
mov esi, eax
jmp 0x4224f6
xor esi, esi
cmp esi, ebx
mov byte [esp + 0xef4], 0xb
je 0x422525
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00422f00
test eax, eax
je 0x42271e
mov ecx, esi
call fcn.00423020
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
push ecx
lea ecx, [esp + 0xe0]
call fcn.0043d100
test eax, eax
je 0x42273c
jmp 0x4224ae
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x422553
xor eax, eax
jmp 0x42255c
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 5
lea esi, [eax - 1]
cmp esi, ebx
jne 0x4225f1
cmp dword [esp + 0x58], ebx
je 0x4225b6
push ebx
push 1
sub esp, 0x10
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.004023b0
sub esp, 0x10
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0xf20], 0x10
call fcn.004023b0
mov ecx, 0x4a6290
mov byte [esp + 0xf1c], 0xb
call fcn.00412b80
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x68]
call fcn.0041bb40
mov edx, dword [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x6c]
call fcn.0041d600
lea eax, [esp + 0x14]
lea ecx, [esp + 0xdc]
push eax
call fcn.0043d100
test eax, eax
je 0x42275a
jmp 0x4224ae
cmp esi, ebp
je 0x42265d
push esi
lea ecx, [esp + 0x18]
call fcn.00422b90
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.0043db60
mov ecx, dword [0x4a6290]
call fcn.00414130
xor edi, edi
cmp esi, ebx
jle 0x422658
push edi
lea ecx, [esp + 0x18]
call fcn.00422b90
sub esp, 0x10
lea ecx, [esp + 0xec]
mov edx, esp
mov dword [esp + 0x70], esp
push eax
push edx
call fcn.0043db60
mov ecx, dword [0x4a6290]
call fcn.004141b0
inc edi
cmp edi, esi
jl 0x422627
mov edi, 0x490164
mov ecx, dword [0x4a6290]
lea eax, [esp + 0x34]
push eax
mov word [esp + 0x3c], bp
mov word [esp + 0x3e], bx
call fcn.00414290
cmp ax, bp
jne 0x4226ab
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xe0]
call fcn.0043d100
test eax, eax
je 0x422775
lea ecx, [esp + 0x14]
call fcn.00422b70
test eax, eax
je 0x422890
jmp 0x4224ae
mov ax, word [esp + 0x38]
cmp ax, bx
jl 0x422790
movsx eax, ax
cmp eax, esi
jge 0x4227ab
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
shl eax, 5
add eax, edx
mov edx, dword [0x49014c]
mov esi, eax
push edx
push ebx
push esi
call fcn.0040f3e0
mov eax, dword [0x49014c]
add esi, 0x10
push eax
push ebx
push esi
lea ecx, [esp + 0x5c]
call fcn.0040f3e0
movsx eax, word [esp + 0x38]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0xe8]
call fcn.0043d0d0
test eax, eax
je 0x4227c6
jmp 0x4224ae
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0xe
jmp 0x4227df
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0xf
jmp 0x4227df
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0x11
jmp 0x4227df
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0x12
jmp 0x4227df
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0x13
jmp 0x4227df
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0x14
jmp 0x4227df
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
mov byte [esp + 0xef4], 0x15
push 1
lea ecx, [esp + 0x54]
call fcn.004024d0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xef8], 8
call fcn.004024d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], edi
mov byte [esp + 0xefc], 6
call fcn.00420580
mov eax, dword [esp + 0x28]
push eax
call fcn.0047e190
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xefc], 5
call fcn.00422ba0
mov eax, dword [esp + 0x18]
push eax
call fcn.0047e190
add esp, 4
lea ecx, [esp + 0xdc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xef4], bl
call fcn.0043d050
lea ecx, [esp + 0x7c]
mov dword [esp + 0xef4], ebp
call fcn.0043dd00
xor eax, eax
jmp 0x422900
lea ecx, [esp + 0x64]
mov byte [esp + 0xef4], 0xa
call fcn.0041baf0
lea ecx, [esp + 0x40]
mov byte [esp + 0xef4], 8
call fcn.0042b910
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], edi
mov byte [esp + 0xef4], 6
call fcn.00420520
lea ecx, [esp + 0x14]
mov byte [esp + 0xef4], 5
call fcn.0041aed0
lea ecx, [esp + 0xdc]
mov byte [esp + 0xef4], bl
call fcn.0043d050
lea ecx, [esp + 0x7c]
mov dword [esp + 0xef4], ebp
call fcn.0043dd00
mov eax, 1
mov ecx, dword [esp + 0xeec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xee8
ret 4