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

Disassembly:
sub esp, 0x2a4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b4]
mov eax, 4
cmp word [esi + 4], ax
push edi
jne 0x1fa510
mov ebx, dword [esp + 0x2bc]
cmp word [ebx + 4], ax
jne 0x1fa510
push 3
xor ecx, ecx
lea eax, [esp + 0x28]
call fcn.0013dc60
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x10]
call fcn.002071d0
test eax, eax
jne 0x1fa510
mov ecx, 0x35
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, 0x35
mov esi, ebx
lea edi, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 8], edx
lea esi, [esp + 0x68]
mov dword [ecx + 0xc], eax
call fcn.002070c0
test eax, eax
je 0x1fa063
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x70]
mov ebx, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
jmp 0x1fa06b
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea esi, [esp + 0x14c]
mov dword [eax + 0xc], ebp
call fcn.002070c0
test eax, eax
je 0x1fa107
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
mov esi, dword [esp + 0x134]
mov edi, dword [esp + 0x138]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x130], edx
mov edx, dword [esp + 0x144]
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0x148]
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], edi
mov eax, ebp
shr eax, 0x1a
test al, 1
mov ecx, 0x4000000
je 0x1fa133
and al, 1
movzx eax, al
mov edx, ebx
shl eax, 0x1a
xor edx, ebp
xor eax, ebx
and edx, ecx
xor ebp, edx
and eax, ecx
xor ebx, eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], ebx
test dword [esp + 0x138], ecx
je 0x1fa158
test dword [esp + 0x148], ecx
je 0x1fa158
mov eax, 0xfbffffff
and dword [esp + 0x138], eax
and dword [esp + 0x148], eax
xor ebx, ebx
mov edi, 0xe4
nop
movsx esi, word [esp + ebx + 0x64]
mov eax, edi
call fcn.00216050
and eax, 7
cmp al, 7
jne 0x1fa17a
mov word [esp + ebx + 0x64], di
jmp 0x1fa192
mov eax, 0x55
call fcn.00216050
and eax, 7
cmp al, 7
jne 0x1fa196
mov word [esp + ebx + 0x64], 0x55
mov ebp, dword [esp + 0x64]
movsx esi, word [esp + ebx + 0x138]
mov eax, edi
call fcn.00216050
and eax, 7
cmp al, 7
jne 0x1fa1b6
mov word [esp + ebx + 0x138], di
jmp 0x1fa1d1
mov eax, 0x55
call fcn.00216050
and eax, 7
cmp al, 7
jne 0x1fa1d1
mov word [esp + ebx + 0x138], 0x55
add ebx, 0x10
cmp ebx, 0x30
jl 0x1fa160
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.0013dc80
lea ecx, [esp + 0x1e0]
call fcn.001fa520
xor eax, eax
xor ecx, ecx
cmp word [esp + ecx + 0x64], di
je 0x1fa202
cmp byte [esp + ecx + 0x58], 3
je 0x1fa22b
cmp ecx, 0x20
je 0x1fa21b
cmp word [esp + ecx + 0x138], di
je 0x1fa21b
cmp byte [esp + ecx + 0x12c], 3
je 0x1fa234
add ecx, 0x10
add eax, 1
cmp ecx, 0x30
jl 0x1fa1f4
jmp 0x1fa3f8
shl eax, 4
lea ecx, [esp + eax + 0x58]
jmp 0x1fa23e
shl eax, 4
lea ecx, [esp + eax + 0x12c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], eax
xor eax, eax
cmp cl, 3
mov byte [esp + 0x13], 1
mov dword [esp + 0x1c], edx
jne 0x1fa273
sar ecx, 8
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x12c]
cmp cl, 3
jne 0x1fa28b
sar ecx, 8
mov edx, 1
shl edx, cl
or eax, edx
mov ecx, dword [esp + 0x68]
cmp cl, 3
jne 0x1fa2a0
sar ecx, 8
mov edx, 1
shl edx, cl
or eax, edx
mov ecx, dword [esp + 0x13c]
cmp cl, 3
jne 0x1fa2b8
sar ecx, 8
mov edx, 1
shl edx, cl
or eax, edx
mov ecx, dword [esp + 0x78]
cmp cl, 3
jne 0x1fa2cd
sar ecx, 8
mov edx, 1
shl edx, cl
or eax, edx
mov ecx, dword [esp + 0x14c]
cmp cl, 3
jne 0x1fa2e5
sar ecx, 8
mov edx, 1
shl edx, cl
or eax, edx
xor ecx, ecx
mov edx, 1
shl edx, cl
test eax, edx
je 0x1fa2fa
add ecx, 1
cmp ecx, 0x20
jl 0x1fa2e7
cmp ecx, 0x20
je 0x1fa510
push 3
lea eax, [esp + 0x28]
call fcn.0013dc60
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
call fcn.00207200
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
xor edi, edi
jmp 0x1fa330
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], edx
lea esi, [esp + edi + 0x68]
mov dword [ecx + 0xc], eax
call fcn.002070c0
test eax, eax
je 0x1fa370
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
lea esi, [esp + edi + 0x13c]
mov dword [eax + 0xc], edx
call fcn.002070c0
test eax, eax
je 0x1fa3b3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
add edi, 0x10
cmp edi, 0x30
jl 0x1fa330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x34]
push edx
lea esi, [esp + 0x1f4]
call fcn.001f9f20
mov ebp, dword [esp + 0x64]
mov bl, byte [esp + 0x13]
mov eax, dword [esp + 0x2c0]
push eax
lea eax, [esp + 0x110]
lea ecx, [esp + 0x3c]
call fcn.001f9c90
test al, al
je 0x1fa510
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x114]
and eax, 0xfe7fffff
or eax, 0x600000
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x2b8]
and eax, 0xfe7fffff
or eax, 0x600000
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x138]
and eax, 0xfe7fffff
and cl, 1
or eax, 0x600000
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x148]
and eax, 0xfe7fffff
or eax, 0x600000
and dl, 8
or ecx, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x158]
and ebp, 0xfe7fffff
or ebp, 0x600000
and eax, 0xfebfffff
or edx, 8
mov ecx, 0x35
lea esi, [esp + 0x38]
mov dword [esp + 0x64], ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2bc]
or eax, 0xa00000
mov dword [esp + 0x158], eax
mov ecx, 0x35
lea esi, [esp + 0x10c]
mov dword [esp + 0x114], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c4]
mov edi, dword [esp + 0x2c8]
mov byte [ecx], bl
mov ecx, 0x35
lea esi, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a4
ret 0x14
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2a4
ret 0x14