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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
add eax, 0xc
cmp edx, eax
je 0x42a78d
mov eax, dword [edx + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [section..tls]
mov edi, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov dword [esp + 0x1c], ebx
cmp ebp, edi
je 0x42a47f
test ebx, ebx
je 0x42a493
lea esi, [esi]
mov edx, dword [edi + 0x30]
movzx eax, word [edx]
test ax, ax
je 0x42a479
add edx, 2
xor ecx, ecx
lea esi, [eax - 0x41]
lea ebx, [eax + 0x20]
cmp si, 0x1a
cmovb eax, ebx
add edx, 2
movzx eax, ax
add ecx, eax
movzx eax, word [edx - 2]
test ax, ax
jne 0x42a455
cmp dword [esp + 0x1c], ecx
je 0x42a493
mov edi, dword [edi]
cmp ebp, edi
jne 0x42a445
mov eax, dword [0x535010]
mov dword [esp + 0x28], 0
xor ebx, ebx
jmp 0x42a632
mov ebx, dword [edi + 0x18]
mov ebp, dword [0x535010]
test ebx, ebx
je 0x42a515
mov eax, dword [ebx + 0x3c]
mov edi, dword [ebx + eax + 0x78]
add edi, ebx
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x20]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x20], edi
test edi, edi
je 0x42a515
movzx edi, byte [ebp]
add eax, ebx
xor esi, esi
mov dword [esp + 0x1c], eax
mov eax, edi
mov edi, ebx
mov ebx, eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
cmp byte [edi + eax], bl
jne 0x42a50a
test bl, bl
je 0x42a615
lea edx, [edi + eax + 1]
lea eax, [ebp + 1]
jmp 0x42a503
add edx, 1
add eax, 1
test cl, cl
je 0x42a615
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x42a4f5
add esi, 1
cmp esi, dword [esp + 0x20]
jne 0x42a4d5
mov ebx, edi
mov ecx, dword [0x535024]
mov dword [esp + 0x28], 0
mov eax, dword [ecx]
test eax, eax
jne 0x42a642
mov esi, dword [0x535030]
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], esi
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edx, dword [0x535008]
mov edi, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x42a583
lea esi, [esi]
mov edx, dword [str.VirtualProtect]
mov edx, dword [edx + eax]
mov dword [edi + eax], edx
mov edx, dword [0x535020]
add eax, edx
mov edx, dword [0x535008]
cmp edx, eax
ja 0x42a565
test ebx, ebx
je 0x42a5f3
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
add esi, ebx
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0x20]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x20], esi
test esi, esi
je 0x42a5f3
movzx ebp, byte [edi]
add eax, ebx
xor esi, esi
mov dword [esp + 0x1c], eax
mov eax, ebp
mov ebp, ebx
mov ebx, eax
nop
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*4]
cmp bl, byte [ebp + eax]
jne 0x42a5ea
test bl, bl
je 0x42a6aa
lea edx, [ebp + eax + 1]
lea eax, [edi + 1]
jmp 0x42a5e3
add edx, 1
add eax, 1
test cl, cl
je 0x42a6aa
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x42a5d5
add esi, 1
cmp dword [esp + 0x20], esi
jne 0x42a5b5
mov dword [esp], 1
mov eax, dword [esp + 0x28]
call eax
sub esp, 4
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edi + esi*2]
mov ebx, edi
mov edi, dword [esp + 0x28]
add eax, dword [edi + 0x24]
movzx eax, word [eax]
lea eax, [ebx + eax*4]
add eax, dword [edi + 0x1c]
mov edi, dword [eax]
add edi, ebx
mov dword [esp + 0x28], edi
mov ecx, dword [0x535024]
mov eax, dword [ecx]
test eax, eax
je 0x42a52d
mov edi, dword [esp + 0x24]
movzx esi, byte [ecx]
movzx ebp, word [edi]
test bp, bp
je 0x42a776
xor edx, edx
mov eax, ebp
add edx, 1
cmp word [edi + edx*2], 0
jne 0x42a659
mov ebp, eax
mov eax, esi
cmp dl, al
je 0x42a670
cmp byte [ecx + 1], dl
jne 0x42a5f3
mov edx, dword [esp + 0x24]
xor esi, esi
movzx eax, bp
add edx, 2
lea esi, [esi]
nop
add edx, 2
add esi, eax
movzx eax, word [edx - 2]
test ax, ax
jne 0x42a685
cmp dword [ecx + 4], esi
je 0x42a52d
cmp dword [ecx + 8], esi
je 0x42a52d
jmp 0x42a5f3
mov edi, dword [esp + 0x24]
lea eax, [ebp + esi*2]
mov ebx, ebp
add eax, dword [edi + 0x24]
movzx eax, word [eax]
lea eax, [ebp + eax*4]
add eax, dword [edi + 0x1c]
add ebx, dword [eax]
je 0x42a5f3
mov esi, dword [0x535040]
lea edi, [esp + 0x3c]
mov edx, dword [0x535008]
mov dword [esp + 0xc], edi
mov eax, dword [0x53501c]
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call ebx
mov ecx, dword [0x535028]
sub esp, 0x10
mov eax, dword [0x535018]
add ecx, dword [esp + 0x2c]
mov edx, dword [0x53501c]
mov ebp, dword [ecx + 4]
cmp eax, edx
jae 0x42a72f
lea esi, [esi]
mov edx, dword [ecx + eax]
add edx, ebp
mov dword [esi + eax], edx
mov edx, dword [0x535020]
add eax, edx
mov edx, dword [0x53501c]
cmp edx, eax
ja 0x42a715
mov edx, dword [0x53500c]
mov eax, dword [0x535004]
mov dword [esi + eax*4], edx
mov edx, dword [esp + 0x3c]
mov eax, dword [0x53501c]
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x53503c]
mov edx, dword [0x53503c]
sub esp, 0x10
add eax, dword [esi + 0xc]
add eax, esi
add esi, edx
mov dword [esp], esi
call eax
jmp 0x42a5f3
mov eax, esi
test al, al
je 0x42a786
cmp byte [ecx + 1], 0
jne 0x42a5f3
xor esi, esi
jmp 0x42a693
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
jmp 0x42a421