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

Disassembly:
push 0xffffffffffffffff
push 0x343a6318
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, 1
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x68], ebx
cmp dword [esi + 0x18], ebx
je 0x342b25ec
cmp dword [esi + 0x1c], ebx
je 0x3421e1ea
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x84]
cmp ecx, ebx
je 0x3420fb69
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push esi
push edx
push eax
call fcn.3420fba5
test byte [esi], 8
jne 0x3420fb79
test byte [esp + 0x14], 8
jne 0x342b266b
test dword [esp + 0x14], 0xfffffffe
mov dword [esp + 0x68], 0xffffffff
jne 0x342b267c
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x18
cmp dword [esi + 0x24], ebx
jne 0x3420fb48
cmp dword [esi + 0x20], ebx
je 0x3422499a
mov eax, 0xff
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 8
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x2c]
mov byte [esp + 0x68], 1
cmp eax, ebx
jne 0x342b25f7
shr edi, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x28]
push ebx
push 0x20
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 8]
push edi
lea edx, [esp + 0x58]
push edx
call fcn.341f5ba8
test byte [esp + 0x14], 8
jne 0x3422122e
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
mov ecx, 0x101
cmp ax, cx
jne 0x3421e30e
mov edx, dword [esi + 0x2c]
push edx
lea ecx, [esp + 0x48]
call fcn.3421e395
lea ecx, [esp + 0x44]
call fcn.3421e5eb
test eax, eax
jne 0x3422121d
push 7
lea ecx, [esp + 0x48]
call fcn.34203f95
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x44]
push edx
mov ecx, eax
call fcn.341f66ba
cmp dword [esi + 0x14], ebx
je 0x342b2603
lea ecx, [esp + 0x44]
call fcn.3421e5eb
test eax, eax
jne 0x3422123c
mov edx, dword [esp + 0x84]
push edx
push 0x100
lea ecx, [esp + 0x4c]
call fcn.341f59a8
test eax, eax
je 0x3421e30e
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0x14]
push ebp
lea eax, [esp + 0x30]
push eax
push edi
mov byte [esp + 0x74], 2
call fcn.341ff02e
test dword [esp + 0x2c], 0xfffffffe
mov byte [esp + 0x68], 1
jne 0x342b265d
mov eax, dword [esp + 0x44]
mov byte [esp + 0x68], bl
cmp eax, ebx
je 0x3420fb48
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x3420fb48
mov ecx, dword [esp + 0x48]
mov eax, 0x109
mov word [ecx], ax
jmp 0x3421e28e
lea ecx, [esp + 0x14]
call fcn.341f5f2f
jmp 0x3421e30e
mov ecx, dword [esi + 0x14]
push ebp
lea edx, [esp + 0x18]
push edx
push edi
call fcn.34221189
mov al, byte [esp + 0x14]
mov ebp, 0xfffffbb2
test al, 1
je 0x342b2630
test al, 8
jne 0x3422122e
mov ecx, dword [esi + 0x10]
push 1
lea eax, [esp + 0x18]
push eax
push edi
call fcn.34221189
mov al, byte [esp + 0x14]
test al, 1
je 0x342b263f
test al, 8
jne 0x3421e30e
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
push 1
push edi
mov ecx, eax
call fcn.3421fe44
test byte [esp + 0x14], 1
jne 0x3421e30e
jmp 0x342b264e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
mov ecx, dword [esi]
push edi
call fcn.342249bf
lea ecx, [esp + 0x14]
call fcn.341f5f2f
jmp 0x3420fb48
push edi
call fcn.3420f515
jmp 0x3420fb3f
shr edi, 9
lea edi, [edi + eax - 1]
jmp 0x3421e233
mov ecx, dword [esp + 0x84]
push ebp
push 0xfffffc0d
call fcn.341f8dac
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x3420fb79
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jmp 0x3420fb79
cmp dword [esp + 0x18], ebp
jne 0x3422125c
jmp 0x3422122e
cmp dword [esp + 0x18], ebp
jne 0x3422127c
jmp 0x3422122e
cmp dword [esp + 0x18], ebp
je 0x3422122e
jmp 0x3421e30e
lea ecx, [esp + 0x2c]
call fcn.341ffba8
jmp 0x3421e30e
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.341f3803
jmp 0x3420fb79
lea ecx, [esp + 0x14]
call fcn.341ffba8
jmp 0x3420fb8f