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

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x2c]
lea eax, [ebx*4]
push edi
mov ecx, esi
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x64]
mov edx, dword [eax + edx]
call fcn.00452250
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
lea eax, [ebx*8]
mov dword [esp + 0x10], eax
mov edi, dword [edi]
add edi, eax
mov eax, dword [edi + 4]
cmp eax, 0xfffffffb
jne 0x4621de
mov ebx, dword [edi]
jmp 0x4621fc
cmp eax, 0xfffffff2
ja 0x4624a4
mov ecx, dword [esi + 0x54]
mov edx, edi
call fcn.0041baf0
mov ebx, eax
mov dword [edi + 4], 0xfffffffb
mov dword [edi], ebx
push 4
push ebx
push esi
call fcn.004525e0
mov ecx, 0x884
movzx eax, ax
mov word [esi + 0x7c], cx
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x7a], ax
call fcn.0045ba20
mov ecx, dword [ebx + 0x10]
lea eax, [ebx + 0x14]
mov dword [esp + 0x1c], eax
add eax, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.0041bc60
mov ebx, eax
test ebx, ebx
je 0x46244d
nop word [eax + eax]
mov edx, ebx
cmp ebx, 2
jne 0x46226e
mov ecx, esi
xor edi, edi
call fcn.00452130
mov ecx, eax
mov eax, ebx
and eax, 0xf
mov dword [esp + 0x30], ecx
dec eax
jmp switch.0x004622a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x64]
add ecx, 4
add dword [esp + 0x10], 8
mov dword [esp + 0x18], ecx
mov edi, dword [ecx + eax]
mov ecx, esi
call fcn.00452130
mov ecx, eax
mov dword [esp + 0x30], eax
mov eax, ebx
and eax, 0xf
dec eax
cmp eax, 7
ja case.0x4622a0.1
jmp dword [eax*4 + 0x4624ac]
push 4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esi + 0x54]
call fcn.0040faa0
add esp, 0xc
push eax
push esi
call fcn.004525e0
mov ecx, 0x5685
movzx eax, ax
add esp, 0xc
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], bp
mov word [esi + 0x7a], ax
call fcn.0045ba20
jmp 0x462438
mov dword [esp + 0x14], 0xb
jmp 0x4622f8
mov dword [esp + 0x14], 0xc
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
jbe 0x462342
mov eax, edi
and eax, 0x1f000000
cmp eax, 0xa000000
jne 0x4623a7
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add eax, dword [esp + 0x10]
push eax
push edi
push esi
call fcn.00469410
push eax
push dword [esp + 0x40]
push ebp
push 0xa
push esi
call fcn.00452350
add esp, 0x20
jmp 0x462438
mov word [esi + 0x78], di
mov ecx, esi
cmp ebx, 3
jne 0x462379
mov dword [esi + 0x7a], 0x5d040000
call fcn.0045ba20
mov ecx, 0x5685
movzx eax, ax
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], bp
mov word [esi + 0x7a], ax
call fcn.0045ba20
jmp 0x462438
mov dword [esi + 0x7a], 0x5b160ad3
call fcn.0045ba20
push eax
push dword [esp + 0x34]
push ebp
push 0xa
push esi
call fcn.00452350
mov byte [esi + 0x134], 1
jmp 0x462435
mov dword [esp + 0x14], 0xd
mov edx, edi
mov ecx, esi
call fcn.004521b0
push eax
push dword [esp + 0x34]
push ebp
push dword [esp + 0x20]
jmp 0x46242f
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
jne case.0x4622a0.1
cmp ebx, 6
jne 0x4623ed
mov eax, 0x5685
mov word [esi + 0x78], bp
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x7a], di
call fcn.0045ba20
jmp 0x462438
push edi
test bl, 0x10
je 0x462401
push ebp
push 9
push esi
call fcn.00452350
add esp, 0x10
jmp 0x462438
push ecx
push ebp
push 0xe
jmp 0x46242f
mov edx, edi
mov ecx, esi
call fcn.0045de70
cmp ebx, 7
jne 0x462427
mov dword [esi + 0x7a], 0x5d040002
mov ecx, esi
mov word [esi + 0x78], ax
jmp 0x462354
push eax
push dword [esp + 0x34]
push ebp
push 0xf
push esi
call fcn.00452350
add esp, 0x14
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.0041bc60
mov ebx, eax
test ebx, ebx
jne 0x462250
cmp dword [esp + 0x3c], 0
mov ecx, esi
mov word [esi + 0x78], bp
je 0x462481
mov dword [esi + 0x7a], 0x12000000
call fcn.0045ba20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.0045ec80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, 0x5784
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x38]
mov word [esi + 0x7a], ax
call fcn.0045ba20
mov ecx, dword [esi + 0x64]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 0x1c
ret
push 0xb
push esi
call fcn.00414ce0
outsb dx, byte [esi]
and al, 70
add byte [edi - 0x19ffb9de], ah
and al, byte [esi]
lock and al, byte [esi]
lahf
and eax, dword [esi]
mov esp, 0x7004623
and al, 70
add byte [esi + 0x24], ch
inc esi
add ah, cl
int3