Function at 0x100041b0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x28]
push edx
call fcn.10004800
add esp, 8
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3cfa685d
je 0x10004221
cmp dword [ebp - 0x6c], 0x6a4abc5b
jne 0x10004334
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x80], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], 0
jmp 0x10004287
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
add ecx, 4
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x64]
add edx, 2
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax + 0x18]
jae 0x10004334
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
push eax
call fcn.100047c0
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax]
lea edx, [edx + ecx*4]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x48], 0x534c0ab8
jne 0x100042d5
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x40], ecx
jmp 0x10004315
cmp dword [ebp - 0x48], 0xec0e4e8e
jne 0x100042eb
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x38], eax
jmp 0x10004315
cmp dword [ebp - 0x48], 0x7c0dfcaa
jne 0x10004301
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx]
mov dword [ebp - 0x3c], edx
jmp 0x10004315
cmp dword [ebp - 0x48], 0x91afca54
jne 0x10004315
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x38], 0
je 0x1000432f
cmp dword [ebp - 0x3c], 0
je 0x1000432f
cmp dword [ebp - 0x34], 0
je 0x1000432f
cmp dword [ebp - 0x40], 0
je 0x1000432f
jmp 0x10004334
jmp 0x1000426c
cmp dword [ebp - 0x38], 0
je 0x1000434e
cmp dword [ebp - 0x3c], 0
je 0x1000434e
cmp dword [ebp - 0x34], 0
je 0x1000434e
cmp dword [ebp - 0x40], 0
je 0x1000434e
jmp 0x10004362
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x70]
jne 0x100041f1
cmp dword [ebp - 0x38], 0
je 0x1000476b
cmp dword [ebp - 0x3c], 0
je 0x1000476b
cmp dword [ebp - 0x34], 0
je 0x1000476b
cmp dword [ebp - 0x40], 0
je 0x1000476b
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
push 0x40
push 0x3000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
push edx
push 0
call dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000476b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10004780
add esp, 0xc
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x68], ecx
xor edx, edx
mov word [ebp - 8], dx
jmp 0x100043f2
mov ax, word [ebp - 8]
add ax, 1
mov word [ebp - 8], ax
movzx ecx, word [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 6]
cmp ecx, eax
jge 0x1000443e
movzx ecx, word [ebp - 8]
imul edx, ecx, 0x28
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + edx + 0x10]
push ecx
movzx edx, word [ebp - 8]
imul eax, edx, 0x28
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
push edx
movzx eax, word [ebp - 8]
imul ecx, eax, 0x28
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx + 0xc]
push eax
call fcn.10004780
add esp, 0xc
jmp 0x100043e6
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 4], 0
je 0x10004551
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
add eax, dword [edx]
mov dword [ebp - 0x2c], eax
jmp 0x10004473
mov ecx, dword [ebp - 0x2c]
add ecx, 0x14
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0xc], 0
je 0x10004551
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
push ecx
call dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000454c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x1000454c
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x10004517
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x84], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
and eax, 0xffff
mov edx, dword [ebp - 0x74]
sub eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
jmp 0x10004535
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
add eax, 2
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x30]
add ecx, 4
mov dword [ebp - 0x30], ecx
jmp 0x100044b1
jmp 0x1000446a
mov edx, 8
imul eax, edx, 5
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x78]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
cmp dword [eax + 4], 0
je 0x10004743
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x24], ecx
jmp 0x10004595
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0
je 0x10004743
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
add eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
add ecx, 8
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x100045c8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
cmp dword [ebp - 4], ecx
jae 0x1000473e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + edx*2]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 0xa
jne 0x1000462e
mov eax, 0xfff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
and ax, word [edx + ecx*2]
movzx eax, ax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax]
add edx, dword [ebp - 0x58]
mov eax, 0xfff
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
and ax, word [esi + ecx*2]
movzx eax, ax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + eax], edx
jmp 0x10004739
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + edx*2]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 3
jne 0x10004680
mov eax, 0xfff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
and ax, word [edx + ecx*2]
movzx eax, ax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax]
add edx, dword [ebp - 0x58]
mov eax, 0xfff
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
and ax, word [esi + ecx*2]
movzx eax, ax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + eax], edx
jmp 0x10004739
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + edx*2]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
cmp edx, 1
jne 0x100046df
mov eax, 0xfff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
and ax, word [edx + ecx*2]
movzx eax, ax
mov ecx, dword [ebp - 0x58]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + eax]
add eax, edx
mov ecx, 0xfff
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
and cx, word [esi + edx*2]
movzx ecx, cx
mov edx, dword [ebp - 0x1c]
mov word [edx + ecx], ax
jmp 0x10004739
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + eax*2]
shr dx, 0xc
and dx, 0xf
movzx eax, dx
cmp eax, 2
jne 0x10004739
mov ecx, 0xfff
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
and cx, word [eax + edx*2]
movzx ecx, cx
mov edx, dword [ebp - 0x58]
and edx, 0xffff
movzx eax, dx
mov edx, dword [ebp - 0x1c]
movzx ecx, word [edx + ecx]
add ecx, eax
mov edx, 0xfff
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
and dx, word [esi + eax*2]
movzx edx, dx
mov eax, dword [ebp - 0x1c]
mov word [eax + edx], cx
jmp 0x100045bf
jmp 0x10004589
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x88], edx
push 0
push 0
push 0xffffffffffffffff
call dword [ebp - 0x40]
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x88]
jmp 0x1000476d
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4