Function at 0x4b1323
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d83e
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x340], esi
mov dword [ebp - 0x334], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x344], 0
push 0x208
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 1
push 0
push eax
call 0x6ed417
add esp, 0xc
lea eax, [ebp - 0x27c]
push 0x21020
push eax
push dword [0x755d4c]
call dword [0x681060]
call fcn.004a3fe3
mov ecx, eax
test ecx, ecx
je 0x4b397e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x334], 0x10
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x32c]
push 0x6ea878
push eax
call fcn.004b9e13
lea eax, [esi + 4]
mov esi, dword [ebp - 0x32c]
push esi
push 0x6ea44c
push eax
mov dword [ebp - 0x374], eax
call fcn.004b9e93
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esp, 0x18
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b1422
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0xfde9
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.0058ccb3
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x4b1450
mov esi, dword [esi]
call fcn.004a3fe3
mov ecx, eax
test ecx, ecx
je 0x4b3988
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 3
test esi, esi
je 0x4b14a6
test esi, 0xffff0000
jne 0x4b1490
movzx eax, si
lea ecx, [ebp - 0x350]
push eax
call fcn.004c3243
jmp 0x4b14b5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b1495
sub ecx, edx
sar ecx, 1
jmp 0x4b14a8
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x350]
call fcn.004c37a3
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2f8]
cmp edx, 8
jb 0x4b14fb
mov ecx, dword [ebp - 0x30c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b14f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b14f1
call dword [0x6815b4]
push edx
push ecx
call 0x6eb88c
add esp, 8
xor eax, eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 7
mov word [ebp - 0x30c], ax
call fcn.004a3fe3
mov ecx, eax
test ecx, ecx
je 0x4b3992
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x334], eax
mov eax, 0x6d1b88
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
test eax, 0xffff0000
jne 0x4b1558
movzx eax, ax
push eax
call fcn.004c3243
jmp 0x4b1564
push 0x24
push 0x6d1b88
call fcn.004c37a3
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.0058ced3
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x334]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b15a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
push dword [ebp - 0x358]
lea eax, [ebp - 0x2f4]
push eax
call fcn.0058cb73
add esp, 0xc
mov byte [ebp - 4], 0xa
call fcn.0058af23
mov ecx, eax
xor esi, esi
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4b18cd
push 0x34
push 0x6ea304
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], al
call fcn.004ac3c3
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2ac]
push 3
push 0x6d1880
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], 0
call fcn.004ac3c3
mov byte [ebp - 4], 0xc
call fcn.0058af23
push 1
push 2
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x328], eax
call fcn.004a9693
push 0xffffffffffffffff
push 0x6d18d8
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0xd
call fcn.004aaad3
push 0xffffffffffffffff
push 0x6d18dc
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x32c], eax
call fcn.004aaad3
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call 0x6ed417
add esp, 0xc
cmp esi, 0xffffffff
je 0x4b1793
mov ecx, dword [ebp - 0x32c]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x4b1793
mov eax, dword [ebp - 0x284]
lea edx, [ecx + 1]
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
cmp eax, edx
jb 0x4b399c
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x280], 0x10
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push ecx
add eax, edx
lea ecx, [ebp - 0x2c4]
push eax
call fcn.004ac3c3
cmp dword [ebp - 0x2b0], 0x10
lea eax, [ebp - 0x2c4]
mov esi, 0x20
cmovae eax, dword [ebp - 0x2c4]
push eax
push 0x97
lea eax, [ebp - 0x74]
push 0x6d18f8
push eax
call fcn.004aadb3
mov edx, dword [ebp - 0x2b0]
add esp, 0x10
cmp edx, 0x10
jb 0x4b1776
mov ecx, dword [ebp - 0x2c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b176c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b176c
call dword [0x6815b4]
push edx
push ecx
call 0x6eb88c
add esp, 8
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
jmp 0x4b17ab
push 0x97
lea eax, [ebp - 0x74]
push 0x6d1904
push eax
call fcn.004aadb3
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0x298], 0x10
lea eax, [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004ade23
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004ade23
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xe
push 0x6ea454
push eax
call fcn.004ade23
cmp dword [ebp - 0x2e0], 0x10
lea eax, [ebp - 0x2f4]
cmovae eax, dword [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004ade23
mov ecx, dword [ebp - 0x328]
lea edx, [ebp - 0x10c]
add esp, 0x20
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.004aa903
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x298]
cmp edx, 0x10
jb 0x4b1872
mov ecx, dword [ebp - 0x2ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b1868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b1868
call dword [0x6815b4]
push edx
push ecx
call 0x6eb88c
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], 0
cmp edx, 0x10
jb 0x4b18cd
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b18c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b18c3
call dword [0x6815b4]
push edx
push ecx
call 0x6eb88c
add esp, 8
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x370]
call fcn.0059a7d3
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
push 8
push str.tC3_tD_
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.004ac3c3
lea eax, [ebp - 0x2dc]
mov byte [ebp - 4], 0x10
or esi, 1
lea ecx, [ebp - 0x370]
push eax
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x334], esi
call fcn.0059bf13
test al, al
je 0x4b1a53
push 9
push 0x6ea25c
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
call fcn.004ac3c3
lea eax, [ebp - 0x2c4]
mov dword [ebp - 4], 0x11
or esi, 2
lea ecx, [ebp - 0x370]
push eax
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x334], esi
call fcn.0059bf13
test al, al
je 0x4b1a53
push 6
push 0x6ea254
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], 0
call fcn.004ac3c3
lea eax, [ebp - 0x2ac]
mov dword [ebp - 4], 0x12
or esi, 4
lea ecx, [ebp - 0x370]
push eax
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x334], esi
call fcn.0059bf13
test al, al
je 0x4b1a53
push 3
push 0x6ea250
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
call fcn.004ac3c3
lea eax, [ebp - 0x294]
mov dword [ebp - 4], 0x13
or esi, 8
lea ecx, [ebp - 0x370]
push eax
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x334], esi
call fcn.0059bf13
mov byte [ebp - 0x32d], 0
test al, al
jne 0x4b1a5a
mov byte [ebp - 0x32d], 1
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x338]
test al, 8
je 0x4b1ad1
mov edx, dword [ebp - 0x280]
and eax, 0xfffffff7
mov dword [ebp - 0x338], eax
cmp edx, 0x10
jb 0x4b1ab6
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b1aa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b1aa6
call dword [0x6815b4]
push edx
push ecx
call 0x6eb88c
and eax, dword [eax]
push 0x80004005
call fcn.004a3c43
push 0x80004005
call fcn.004a3c43
push 0x80004005
call fcn.004a3c43
call fcn.004aac13