Function at 0x42f350
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c6c5c
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x53856c]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov ebp, 0x4a39a2
mov edi, 0x4a3cd1
mov edx, fcn.004a38c5
mov ecx, 0x8000
mov eax, 0x4dba34
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x60], ebp
xor ebp, ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x74], ebp
mov byte [esp + 0x78], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x44], ebp
mov byte [esp + 0x2e8], 2
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x42f423
mov eax, dword [ebx + 8]
lea edx, [eax + 4]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0043db30
test al, al
jne 0x42f441
lea ecx, [esp + 0x44]
call fcn.00438520
cmp byte [esi + 0x11c], 0
je 0x42f44f
add esi, 0xc
jmp 0x42f452
mov esi, dword [esi + 8]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esi + 4]
lea ecx, [esp + 0x60]
call fcn.0043db30
test al, al
jne 0x42f470
lea ecx, [esp + 0x44]
call fcn.00438520
lea ecx, [esp + 0x24]
call fcn.0043e7c0
mov esi, eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x60]
mov eax, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], 0x51e808
call fcn.00414b30
cmp eax, ebp
jne 0x42f4ae
mov edx, dword [esi + 4]
mov dword [esp + 0x18], edx
jmp 0x42f4eb
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x60]
mov dword [esp + 0x24], 0x51e818
call fcn.00414b30
cmp eax, ebp
jne 0x42f4db
mov eax, dword [esi + 4]
dec eax
jmp 0x42f4e7
mov edx, dword [eax + 4]
push edx
call fcn.004ab7b1
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x5c]
call fcn.0043e7c0
mov ebx, eax
xor eax, eax
mov dword [esp + 0x14], ebx
cmp dword [ebx + 4], eax
je 0x42f523
mov edx, dword [ebx + 8]
test edx, edx
jbe 0x42f521
mov esi, dword [ebx]
mov ecx, esi
lea esp, [esp]
cmp dword [ecx], 0
jne 0x42f662
inc eax
add ecx, 4
cmp eax, edx
jb 0x42f510
xor eax, eax
mov ebp, eax
test eax, eax
je 0x42f6a0
mov dword [esp + 0x54], 0x51e7e4
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x5c]
push ecx
lea edi, [esp + 0x8c]
call fcn.00414b30
test eax, eax
je 0x42f657
mov edx, dword [ebp + 4]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0042ecb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42f647
push 0x51e820
lea ecx, [esp + 0x1b8]
call fcn.00439280
mov byte [esp + 0x2e8], 3
mov ecx, dword [esp + 0x18]
push ecx
push 0x5177c0
lea edx, [esp + 0x1bc]
call fcn.004397d0
add esp, 8
cmp byte [esp + 0x2d0], 0
lea esi, [esp + 0x1c0]
jne 0x42f5c6
mov esi, dword [esp + 0x1bc]
mov eax, dword [esp + 0x3c]
add esi, 4
test eax, eax
je 0x42f5f8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
lea edi, [esp + 0x28]
mov dword [esp + 0x5c], esi
call fcn.00414b30
test eax, eax
je 0x42f5f8
mov eax, dword [eax + 4]
test eax, eax
jne 0x42f609
push esi
lea ecx, [esp + 0x28]
call fcn.0043e7c0
mov ecx, eax
call fcn.0043d6b0
inc dword [esp + 0x18]
mov byte [esp + 0x2e8], 2
cmp byte [esp + 0x2d0], 0
mov esi, eax
mov dword [esp + 0x1b4], 0x51f564
jne 0x42f647
mov eax, dword [esp + 0x1bc]
lea ecx, [esp + 0x1c0]
cmp eax, ecx
je 0x42f647
push eax
call fcn.004aacc5
add esp, 4
mov ebx, dword [ebp + 4]
push esi
call fcn.0042edf0
mov ebx, dword [esp + 0x18]
add esp, 4
mov esi, dword [ebx + 8]
test esi, esi
jne 0x42f66a
xor ecx, ecx
jmp 0x42f696
mov eax, dword [esi + eax*4]
jmp 0x42f523
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x42f696
mov eax, dword [ebp + 0xc]
xor edx, edx
div esi
inc edx
lea esp, [esp]
cmp edx, esi
jae 0x42f696
mov eax, dword [ebx]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x42f691
mov ecx, dword [eax]
inc edx
test ecx, ecx
je 0x42f680
mov ebp, ecx
test ecx, ecx
jne 0x42f535
mov ecx, dword [esp + 0x58]
xor eax, eax
xor ebp, ebp
cmp dword [ecx + 4], eax
je 0x42f6c7
mov edx, dword [ecx + 8]
test edx, edx
jbe 0x42f6c5
mov esi, dword [ecx]
mov ecx, esi
cmp dword [ecx], 0
jne 0x42f70b
inc eax
add ecx, 4
cmp eax, edx
jb 0x42f6b8
xor eax, eax
mov esi, eax
test eax, eax
je 0x42f73c
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], 0x51e7e4
lea esp, [esp]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x58]
call fcn.00414b30
test eax, eax
je 0x42f700
inc ebp
mov edi, dword [ebx + 8]
test edi, edi
jne 0x42f710
xor ecx, ecx
jmp 0x42f736
mov eax, dword [esi + eax*4]
jmp 0x42f6c7
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x42f736
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
inc edx
nop
cmp edx, edi
jae 0x42f736
mov eax, dword [ebx]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x42f731
mov ecx, dword [eax]
inc edx
test ecx, ecx
je 0x42f720
mov esi, ecx
test ecx, ecx
jne 0x42f6e0
xor ebx, ebx
mov ecx, 4
mov word [esp + 0x1a6], cx
lea edx, [esp + 0x98]
lea ecx, [ebx + 1]
lea esi, [esp + 0x94]
mov dword [esp + 0x8c], 0x51f564
mov byte [esp + 0x1a8], 1
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x90], ebx
call fcn.00439db0
lea eax, [esp + 0x98]
cmp byte [esp + 0x1a8], bl
jne 0x42f7a7
mov eax, dword [esp + 0x94]
xor ecx, ecx
mov word [eax + 4], cx
push ebp
push 0x5177c0
lea edx, [esp + 0x94]
mov byte [esp + 0x2f0], 4
call fcn.004397d0
add esp, 8
cmp byte [esp + 0x1a8], 0
lea eax, [esp + 0x98]
jne 0x42f7e2
mov eax, dword [esp + 0x94]
lea ebp, [eax + 4]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x42f876
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp eax, ebx
je 0x42f815
mov ecx, dword [eax]
cmp ecx, edx
jae 0x42f815
lea esi, [ecx + 0x60]
cmp esi, edx
ja 0x42f815
add dword [eax], 0x60
lea ecx, [eax + ecx + 8]
mov eax, ecx
jmp 0x42f846
cmp edx, 0x60
jae 0x42f81f
mov edx, 0x60
add edx, 8
push edx
call dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
je 0x42f844
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax], 0x60
mov dword [esp + 0x34], eax
add eax, 8
jmp 0x42f846
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x2e8], 5
cmp eax, ebx
je 0x42f868
push eax
lea ebx, [esp + 0x28]
call fcn.0043d3c0
xor ebx, ebx
jmp 0x42f86a
xor eax, eax
mov byte [esp + 0x2e8], 4
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x58]
mov dword [esp + 0x20], 0x51e808
call fcn.00414b30
mov esi, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x42f929
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp eax, ebx
je 0x42f8c8
mov ecx, dword [eax]
cmp ecx, edx
jae 0x42f8c8
lea edi, [ecx + 0x60]
cmp edi, edx
ja 0x42f8c8
add dword [eax], 0x60
lea ecx, [eax + ecx + 8]
mov eax, ecx
jmp 0x42f8f9
cmp edx, 0x60
jae 0x42f8d2
mov edx, 0x60
add edx, 8
push edx
call dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
je 0x42f8f7
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax], 0x60
mov dword [esp + 0x34], eax
add eax, 8
jmp 0x42f8f9
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x2e8], 6
cmp eax, ebx
je 0x42f91b
push eax
lea ebx, [esp + 0x28]
call fcn.0043d3c0
xor ebx, ebx
jmp 0x42f91d
xor eax, eax
mov byte [esp + 0x2e8], 4
mov dword [esp + 0x3c], eax
cmp esi, ebx
je 0x42f935
mov eax, dword [esi + 4]
jmp 0x42fa03
cmp eax, ebx
je 0x42f974
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x58]
mov dword [esp + 0x20], 0x51e808
call fcn.00414b30
cmp eax, ebx
je 0x42f968
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x42fa03
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jne 0x42f9f9
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp edx, ebx
je 0x42f996
mov eax, dword [edx]
cmp eax, ecx
jae 0x42f996
lea esi, [eax + 0x60]
cmp esi, ecx
ja 0x42f996
add dword [edx], 0x60
lea eax, [edx + eax + 8]
jmp 0x42f9c7
cmp ecx, 0x60
jae 0x42f9a0
mov ecx, 0x60
add ecx, 8
push ecx
call dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
je 0x42f9c5
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax], 0x60
mov dword [esp + 0x34], eax
add eax, 8
jmp 0x42f9c7
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x2e8], 7
cmp eax, ebx
je 0x42f9e9
push eax
lea ebx, [esp + 0x28]
call fcn.0043d3c0
xor ebx, ebx
jmp 0x42f9eb
xor eax, eax
mov ecx, eax
mov byte [esp + 0x2e8], 4
mov dword [esp + 0x3c], ecx
push 0x51e808
call fcn.0043d6b0
push ebp
push 0x51e818
push eax
call fcn.0043d4e0
mov eax, dword [esp + 0x7c]
cmp byte [eax + 0x11c], 0
je 0x42fa21
add eax, 0xc
jmp 0x42fa24
mov eax, dword [eax + 8]
lea edx, [eax + 4]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0043e210
mov dword [esp + 0x8c], 0x51f564
test al, al
jne 0x42fae6
cmp byte [esp + 0x1a8], al
jne 0x42fa6c
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x42fa6c
push eax
call fcn.004aacc5
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x2e8], 1
call fcn.00438470
mov byte [esp + 0x2e8], 0
mov eax, dword [esp + 0x6c]
mov esi, 0x4db6c4
mov dword [esp + 0x5c], esi
cmp eax, ebx
je 0x42faad
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x70], edx
call dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, ebx
jne 0x42fa96
mov dword [esp + 0x2e8], 0xffffffff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x42fadf
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x38], ecx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
jne 0x42fac8
xor al, al
jmp 0x42fb80
cmp byte [esp + 0x1a8], 0
jne 0x42fb0b
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
je 0x42fb0b
push eax
call fcn.004aacc5
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x2e8], 1
call fcn.00438470
mov byte [esp + 0x2e8], 0
mov eax, dword [esp + 0x6c]
mov esi, 0x4db6c4
mov dword [esp + 0x5c], esi
cmp eax, ebx
je 0x42fb4c
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x70], ecx
call dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, ebx
jne 0x42fb35
mov dword [esp + 0x2e8], 0xffffffff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x42fb7e
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x38], edx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
jne 0x42fb67
mov al, 1
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.004aac2b
add esp, 0x2d8
ret