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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x94]
push esi
mov esi, dword [ecx + 0x5c]
mov eax, esi
shl eax, 8
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
mov dword [ebx], eax
cmp dword [esp + 0xa8], eax
jae 0x422a72
pop edi
pop esi
mov dword [edx], 0x70
xor al, al
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x8c
ret
test esi, esi
jne 0x422a98
mov dword [ebx], esi
xor al, al
pop edi
pop esi
mov dword [edx], 0xd1
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x8c
ret
mov eax, dword [ecx + 0x58]
mov byte [esp + 0xf], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov esi, dword [eax]
mov dword [esp + 0x20], esi
push ebp
cmp esi, eax
je 0x422da0
lea ebx, [edi + 8]
lea ebx, [ebx]
lea ecx, [esi + 0x10]
call fcn.004be670
mov ebp, eax
lea ecx, [esi + 0x10]
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x78], ax
mov dword [esp + 0x82], eax
mov word [esp + 0x86], ax
mov word [esp + 0x48], ax
mov dword [esp + 0x52], eax
mov word [esp + 0x56], ax
mov word [esp + 0x58], ax
mov dword [esp + 0x62], eax
mov word [esp + 0x66], ax
mov word [esp + 0x68], ax
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
mov word [esp + 0x88], ax
mov dword [esp + 0x92], eax
mov word [esp + 0x96], ax
movq qword [esp + 0x7a], xmm0
movq qword [esp + 0x4a], xmm0
movq qword [esp + 0x5a], xmm0
movq qword [esp + 0x6a], xmm0
movq qword [esp + 0x8a], xmm0
mov eax, dword [esi + 0x10]
mov dword [ebx - 8], eax
lea eax, [esp + 0x13]
push ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bda30
mov eax, dword [esp + 0x14]
mov dword [ebx - 4], eax
test ebp, ebp
je 0x422b7e
mov ecx, dword [ebp + 0xc]
jmp 0x422b80
xor ecx, ecx
mov eax, dword [esi + 0x1c]
or eax, ecx
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004bdb70
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0056ef20
add esp, 8
test al, al
je 0x422dbb
mov eax, dword [esp + 0x14]
mov dword [ebx + 8], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0056ef20
add esp, 8
test al, al
je 0x422dbb
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov dword [ebx + 0xc], eax
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004bdd10
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004bd9a0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0056ef20
add esp, 8
test al, al
je 0x422dbb
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov dword [ebx + 0x14], eax
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004bd660
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0056ef20
add esp, 8
test al, al
je 0x422dbb
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004bdd70
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0056ef20
add esp, 8
test al, al
je 0x422dbb
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov dword [ebx + 0x20], eax
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bdac0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x2c], eax
call fcn.0047ab40
test al, al
jne 0x422d03
cmp dword [ebx + 0x24], 1
jne 0x422d03
mov eax, dword [ebx + 0x2c]
test eax, 0x400
je 0x422d03
and eax, 0xfffffbff
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], eax
push ebp
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x10]
call fcn.004bdc30
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov dword [ebx + 0x28], eax
mov ax, word [esi + 0x14]
mov word [ebx + 0xf0], ax
call fcn.004bdce0
lea ecx, [esi + 0x10]
mov dword [ebx + 0xf4], eax
call fcn.004beaa0
test al, al
je 0x422d80
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x10]
call fcn.004bdc80
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
call fcn.004b8a60
push eax
lea ecx, [esp + 0x34]
call fcn.004b8850
test al, al
je 0x422d80
lea ecx, [esp + 0x30]
call fcn.004b88b0
lea edi, [ebx + 0x30]
mov ecx, 0x30
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x24]
add ebx, 0x100
call fcn.0059af20
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, dword [eax + 0x58]
jne 0x422ad0
mov al, 1
mov ecx, dword [esp + 0x98]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006f7ca4
add esp, 0x8c
ret
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
mov dword [eax], 0xfe
xor al, al
jmp 0x422da2