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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511c1c
mov eax, dword fs:[0]
push eax
sub esp, 0x748
mov eax, dword [0x5415a0]
xor eax, esp
mov dword [esp + 0x740], eax
push ebx
push esi
push edi
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 0x758]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edi
mov byte [esp + 0x3c], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x760], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je case.0x423077.18
mov esi, dword [eax + 8]
cmp esi, ebx
je case.0x423077.18
mov eax, dword [esi + 0x30]
add eax, 0x13
cmp eax, 0xe
ja case.0x423077.18
movzx eax, byte [eax + 0x423978]
jmp dword [eax*4 + 0x423964]
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x240]
mov dword [edi + 0x1c], ecx
push eax
lea ecx, [esp + 0x628]
call fcn.004393e0
mov byte [esp + 0x44], bl
mov dword [esp + 0x40], ebx
lea edx, [esp + 0x28]
push edx
push 0x1fff8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], fcn.004cd5fd
mov dword [esp + 0x34], fcn.004cf7ca
mov dword [esp + 0x38], fcn.004cd520
call fcn.004028b0
mov byte [esp + 0x760], 3
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x40]
call fcn.0041aec0
test al, al
jne 0x4230ef
mov edi, 3
jmp 0x423313
mov byte [esp + 0x2c], bl
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x3e4]
call fcn.004024a0
mov byte [esp + 0x760], 5
call fcn.0040a380
mov ecx, edi
push ebx
lea edi, [esp + 0x2c]
call fcn.0040fb60
test al, al
jne 0x42312a
mov edi, 5
jmp 0x4232fe
cmp dword [esp + 0x628], ebx
jne 0x42314c
push 0x5244d8
push 0x523340
lea edx, [esp + 0x62c]
call fcn.00439ae0
add esp, 8
lea eax, [esp + 0x624]
call fcn.00439a40
push eax
lea ecx, [esp + 0x500]
call fcn.004393e0
push 0x52455c
push 0x523340
lea edx, [esp + 0x504]
call fcn.00439ae0
add esp, 8
lea eax, [esp + 0x4fc]
call fcn.00439a40
lea ecx, [esp + 0x3e4]
push ecx
mov ebx, eax
call fcn.00401580
xor eax, eax
push eax
push 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3f4]
lea ebx, [esp + 0x28]
call fcn.00401500
lea ecx, [esp + 0x88]
mov edi, eax
call fcn.004392f0
mov eax, edi
lea edx, [esp + 0x88]
call fcn.00439500
sub esp, 0x124
mov edi, esp
mov ecx, edi
mov dword [esp + 0x168], 1
mov dword [esp + 0x184], esp
call fcn.004392f0
mov dword [esp + 0x894], 9
cmp byte [esp + 0x2c8], 0
lea eax, [esp + 0x1b8]
jne 0x423220
mov eax, dword [esp + 0x1b4]
add eax, 4
mov edx, edi
call fcn.00439500
mov ecx, ebx
lea edx, [esp + 0x15c]
mov byte [esp + 0x894], 8
call fcn.0042d980
add esp, 0x134
test al, al
je 0x42325c
cmp dword [esp + 0x1c], 0
je 0x42325c
cmp dword [esp + 0x18], 0
je 0x42325c
xor bl, bl
jmp 0x42325e
mov bl, 1
mov edi, 6
lea ecx, [esp + 0x78]
mov dword [esp + 0x760], edi
call fcn.00439450
test bl, bl
jne 0x4232f0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0041b270
or edx, 0xffffffff
test eax, eax
je 0x4232be
push 0xa
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x40], 0
call fcn.004d1e1a
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, eax
test ecx, ecx
je 0x4232be
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4232b0
sub ecx, ebx
je 0x4232be
or edx, 0xffffffff
mov eax, dword [esp + 0x18]
test edx, edx
sete cl
movzx edx, cl
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
call fcn.00460250
xor ecx, ecx
add esp, 8
test al, al
setne cl
add ecx, 7
mov edi, ecx
lea ecx, [esp + 0x4fc]
call fcn.00439450
xor ebx, ebx
lea eax, [esp + 0x3e4]
call fcn.004025f0
lea ecx, [esp + 0x28]
call fcn.00438670
lea eax, [esi + 0x240]
push eax
lea ecx, [esp + 0x1a0]
call fcn.004393e0
mov dword [esp + 0x24], eax
mov byte [esp + 0x760], 0xf
call fcn.0040a380
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push edi
push edx
mov edx, dword [esi + 0x30]
push eax
mov eax, dword [esi + 0x34]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00412ea0
mov esi, eax
call fcn.0040a380
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x423371
cmp esi, ebx
je 0x423371
push esi
call fcn.0041e510
lea ecx, [esp + 0x19c]
call fcn.00439450
mov byte [esp + 0x760], 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x5136ec
call fcn.004033d0
lea ecx, [esp + 0x40]
jmp 0x423942
mov edx, dword [esi + 0x10]
add esi, 0x240
push esi
lea ecx, [esp + 0x628]
mov dword [edi + 0x1c], edx
call fcn.004393e0
mov byte [esp + 0x44], bl
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x6c]
call fcn.00402890
push eax
push 0x1fff8
lea ecx, [esp + 0x5c]
call fcn.004028b0
mov byte [esp + 0x760], 0x12
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x40]
call fcn.004151f0
test al, al
je 0x4235c5
mov byte [esp + 0x2c], bl
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x3e4]
call fcn.004024a0
mov byte [esp + 0x760], 0x14
call fcn.0040a380
mov ecx, edi
push ebx
lea edi, [esp + 0x2c]
call fcn.0040fb60
test al, al
je 0x4235b0
cmp dword [esp + 0x628], ebx
jne 0x423443
mov eax, 0x5244d8
lea esi, [esp + 0x624]
call fcn.00439a00
lea eax, [esp + 0x624]
call fcn.00439a40
push eax
lea ecx, [esp + 0x500]
call fcn.004393e0
mov eax, 0x52455c
lea esi, [esp + 0x4fc]
mov byte [esp + 0x760], 0x15
call fcn.00439a00
mov eax, esi
call fcn.00439a40
lea ecx, [esp + 0x3e4]
push ecx
mov ebx, eax
call fcn.00401580
xor edi, edi
push edi
push 1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x60]
push eax
push edi
push edi
push edi
push edi
push edi
lea eax, [esp + 0x408]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
lea esi, [esp + 0x40]
call fcn.00401500
push eax
lea ecx, [esp + 0x2e8]
call fcn.00436190
sub esp, 0x124
mov ecx, esp
mov dword [esp + 0x184], esp
push edi
push edi
push edi
push edi
push edi
mov byte [esp + 0x8a8], 0x16
push eax
mov dword [esp + 0x180], 2
call fcn.00436440
mov ecx, esi
lea edx, [esp + 0x15c]
call fcn.0042d980
add esp, 0x134
test al, al
je 0x423519
cmp dword [esp + 0x18], edi
je 0x423519
cmp dword [esp + 0x1c], edi
je 0x423519
xor bl, bl
jmp 0x42351b
mov bl, 1
lea ecx, [esp + 0x2c0]
mov dword [esp + 0x760], 0x15
call fcn.00439450
test bl, bl
jne 0x4235a4
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0041b270
or edx, 0xffffffff
cmp eax, edi
je 0x42357e
push 0xa
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x30], edi
call fcn.004d1e1a
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, eax
cmp ecx, edi
je 0x42357e
lea esi, [ecx + 1]
jmp 0x423570
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423570
sub ecx, esi
je 0x42357e
or edx, 0xffffffff
mov eax, dword [esp + 0x1c]
cmp edx, edi
sete cl
movzx edx, cl
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
call fcn.00460250
add esp, 8
lea ecx, [esp + 0x4fc]
call fcn.00439450
lea eax, [esp + 0x3e4]
call fcn.004025f0
lea ecx, [esp + 0x28]
call fcn.00438670
mov byte [esp + 0x760], 0x11
jmp 0x423385
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x240]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x628]
call fcn.004393e0
lea eax, [esi + 0x448]
push eax
lea ecx, [esp + 0x500]
call fcn.004393e0
mov byte [esp + 0x760], 0x18
cmp dword [esp + 0x1c], ebx
je 0x4236b3
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x513454]
test eax, eax
je 0x4236b3
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x38]
call fcn.004151f0
test al, al
jne 0x423677
mov ecx, dword [edi + 0x1c]
push ecx
call dword [0x513454]
test eax, eax
je 0x4236a2
cmp dword [edi + 0x20], 2
jne 0x4236a2
mov edx, dword [edi + 0x1c]
push ebx
push ebx
push 0xce22
push edx
call dword [0x513458]
lea ecx, [esp + 0x4fc]
call fcn.00439450
jmp 0x423947
mov byte [esp + 0x44], bl
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x40]
push eax
push edi
lea ecx, [esp + 0x504]
mov byte [esp + 0x768], 0x19
call fcn.00423990
lea ecx, [esp + 0x40]
call fcn.00438670
lea ecx, [esp + 0x4fc]
call fcn.00439450
jmp 0x423947
lea ecx, [esp + 0x4fc]
call fcn.00439450
lea ecx, [esp + 0x624]
call fcn.00439450
lea ecx, [esp + 0x38]
call fcn.00438670
xor al, al
mov ecx, dword [esp + 0x758]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x740]
xor ecx, esp
call fcn.004cd511
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
mov dword [edi + 0x20], eax
cmp eax, 0xc
jne 0x4237a5
add esi, 0x650
push esi
lea ecx, [esp + 0x500]
call fcn.004393e0
lea ecx, [esp + 0x4fc]
call fcn.00439a20
mov ebx, eax
lea edi, [esp + 0x3e4]
call fcn.00402580
mov ecx, edi
mov byte [esp + 0x760], 0x1b
call fcn.00401680
test al, al
je 0x42377d
cmp dword [esp + 0x3e4], 0
je 0x42377d
mov esi, edi
call fcn.00401b40
mov eax, edi
call fcn.004025f0
lea ecx, [esp + 0x4fc]
call fcn.00439450
lea ecx, [esp + 0x38]
call fcn.00438670
mov al, 1
jmp 0x4236d6
lea eax, [esp + 0x3e4]
call fcn.004025f0
lea ecx, [esp + 0x4fc]
call fcn.00439450
lea ecx, [esp + 0x38]
call fcn.00438670
mov al, 1
jmp 0x4236d6
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x240]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x628]
call fcn.004393e0
mov byte [esp + 0x760], 0x1c
cmp dword [esp + 0x18], ebx
je 0x4236bf
mov eax, dword [esp + 0x18]
push eax
call dword [0x513454]
test eax, eax
je 0x4236bf
push ebx
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x2b], bl
mov dword [esp + 0x2c], ebx
call dword [0x546678]
test eax, eax
je 0x423808
test byte [esp + 0x24], 0x47
je 0x423808
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x18]
mov dword [edi + 0x1c], edx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x28], ebx
mov byte [esp + 0x760], 0x1d
cmp dword [edi + 0x20], 4
jne 0x423874
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x28]
call fcn.004151f0
test al, al
jne 0x423859
cmp byte [esp + 0x23], bl
je 0x42393e
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
push ebx
push eax
push 0x421
push ecx
call dword [0x513458]
jmp 0x42393e
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
push 1
push edx
push 0x421
push eax
call dword [0x513458]
jmp 0x42393e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
push 0x20
push 0x20
lea edx, [esp + 0x48]
lea ecx, [esi + 0x650]
push edx
mov byte [esp + 0x76c], 0x1e
call fcn.00442ad0
mov eax, dword [esp + 0x4c]
xor esi, esi
cmp eax, 4
mov dword [esp + 0x1c], 5
jl 0x4238ef
cmp eax, ebx
mov esi, dword [esp + 0x48]
jle 0x4238c3
cmp esi, ebx
je 0x4238c3
mov eax, dword [esi]
jmp 0x4238c5
xor eax, eax
push eax
call fcn.004d0ad5
add esp, 4
cmp dword [esp + 0x4c], 1
mov dword [esp + 0x1c], eax
jle 0x4238e2
cmp esi, ebx
je 0x4238e2
mov eax, dword [esi + 4]
jmp 0x4238e4
xor eax, eax
push eax
call fcn.004d0ad5
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x28]
call fcn.004151f0
push esi
test al, al
jne 0x423920
cmp byte [esp + 0x27], bl
je 0x423912
mov eax, dword [esp + 0x20]
push eax
push 0xce30
jmp 0x42392a
mov edx, dword [esp + 0x1c]
push 5
push 0xce30
push edx
jmp 0x42392f
mov eax, dword [esp + 0x20]
push eax
push 0xce2c
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x513458]
lea eax, [esp + 0x40]
call fcn.00442ac0
lea ecx, [esp + 0x28]
call fcn.00438670
lea ecx, [esp + 0x624]
call fcn.00439450
lea ecx, [esp + 0x38]
call fcn.00438670
mov al, 1
jmp 0x4236d6