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

Disassembly:
push 0xffffffffffffffff
push 0x46de70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push edi
mov ebx, ecx
call fcn.00449a21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x78]
mov eax, dword [ebx + 0x5f4c]
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x5c]
movzx ecx, byte [eax + 0x21]
xor edi, edi
lea edx, [ecx - 1]
cmp edx, 3
mov dword [esp + 0x6c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
ja case.default.0x42f80d
jmp dword [edx*4 + 0x42fa20]
mov dword [esp + 0x78], edi
jmp 0x42f83c
mov dword [esp + 0x78], 1
jmp 0x42f83c
mov dword [esp + 0x78], 4
jmp 0x42f83c
mov dword [esp + 0x78], 3
jmp 0x42f83c
mov dword [esp + 0x78], ecx
cmp word [eax + 0x24], di
mov dword [esp + 0x1c], edi
jbe 0x42f9e8
push esi
jmp 0x42f851
mov edi, dword [esp + 0x20]
movzx eax, word [eax + 0x22]
mov ecx, dword [esp + 0x7c]
add eax, edi
push eax
push ecx
lea edx, [esp + 0x3c]
push str._d_4d:
push edx
call fcn.0043695b
add esp, 0x10
mov eax, 1
cmp byte [esp + eax + 0x34], 0x20
jne 0x42f880
mov byte [esp + eax + 0x34], 0x30
inc eax
cmp eax, 4
jl 0x42f874
lea eax, [esp + 0x34]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f890
sub eax, esi
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.00401570
mov ecx, dword [ebx + 0x5c]
push edi
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.00422c50
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp - 0xc]
mov edi, eax
lea eax, [edx + ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [esp + 0x28], ecx
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
sub eax, dword [esp + 0x14]
mov esi, edi
sub esi, ebp
or eax, ecx
mov byte [esp + 0x70], 1
mov dword [esp + 0x24], edx
jge 0x42f90a
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.004014d0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
cmp esi, edx
ja 0x42f911
lea edi, [esi + ebp]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov esi, edi
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x70], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f956
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0x5c]
cmp byte [eax + 0x21], 2
mov edx, dword [ebx + 0x5f48]
jbe 0x42f96c
lea eax, [edx + edx*8]
shl eax, 1
jmp 0x42f972
lea eax, [edx + edx*2]
shl eax, 2
imul eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [ebx + 0x5f4c]
imul eax, esi
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [esp + 0x28], ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
push ebp
push eax
mov eax, ecx
mov ecx, dword [esp + 0x84]
lea edx, [edi + edx*2]
push edx
call dword [eax + 0x5c]
mov eax, dword [ebx + 0x5f1c]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x42f9cf
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x5c]
mov ecx, dword [esp + 0x20]
movzx edx, word [eax + 0x24]
inc ecx
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x42f84d
pop esi
add ebp, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42fa0b
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x64]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8