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

Disassembly:
push 0xffffffffffffffff
push 0x4ba9f9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], ebx
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452031
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], 1
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452066
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x7c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], 1
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
call fcn.00451bb0
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0049e3b6
add esp, 0x1c
cmp eax, ebx
jne 0x4520c9
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x4520cd
mov dword [esp + 0x1c], ebx
sub dword [esp + 0x1c], 1
jne 0x4520dc
mov dword [esp + 0x1c], 7
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
xor esi, esi
mov byte [edx], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
lea edx, [eax + 1]
jmp 0x452100
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452100
sub eax, edx
je 0x452422
nop
mov eax, dword [esp + 0x78]
movsx eax, byte [esi + eax]
dec eax
cmp eax, 0x14
ja case.default.0x452122
jmp dword [eax*4 + 0x45245c]
mov ecx, dword [esp + 0x28]
push ecx
push 0x4c3af0
lea edx, [esp + 0x1c]
push edx
call fcn.0040a120
add esp, 0xc
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebp
call fcn.00402110
mov ebx, 1
jmp case.default.0x452122
mov eax, dword [esp + 0x28]
cmp eax, 0xa
push eax
jge 0x452170
push 0x4cc23c
lea eax, [esp + 0x1c]
push eax
jmp 0x45217a
push 0x4c3af0
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040a120
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, ebp
call fcn.00402110
jmp 0x4523d3
mov edx, dword [esp + 0x28]
push edx
push str._.2d
lea eax, [esp + 0x1c]
push eax
jmp 0x452138
mov ecx, dword [esp + 0x30]
push ecx
push 0x4cc244
jmp 0x452133
mov eax, dword [esp + 0x20]
push eax
push 0x4c3af0
lea ecx, [esp + 0x1c]
push ecx
jmp 0x452138
mov eax, dword [esp + 0x20]
cmp eax, 0xa
push eax
jge 0x4521e1
push 0x4cc23c
lea edx, [esp + 0x1c]
push edx
jmp 0x45217a
push 0x4c3af0
lea eax, [esp + 0x1c]
push eax
jmp 0x45217a
mov ecx, dword [esp + 0x20]
push ecx
push str._.2d
jmp 0x452133
cmp byte [esp + 0x7c], 0
jne 0x45220f
mov eax, dword [esp + 0x20]
lea esi, [eax + 0x11e]
jmp 0x452219
mov ecx, dword [esp + 0x20]
lea esi, [ecx + 0x13c]
call fcn.0046eca0
mov ecx, eax
mov eax, esi
call fcn.00426c60
push eax
lea ecx, [esp + 0x18]
call fcn.00401a90
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebp
mov dword [esp + 0x34], 1
call fcn.00402110
jmp case.default.0x452122
mov ecx, dword [esp + 0x24]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
push ecx
push 0x4c3af0
lea eax, [esp + 0x1c]
push eax
jmp 0x452138
mov ecx, dword [esp + 0x24]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
push ecx
push str._.2d
lea ecx, [esp + 0x1c]
push ecx
jmp 0x452138
mov edx, dword [esp + 0x24]
push edx
push 0x4c3af0
lea eax, [esp + 0x1c]
push eax
jmp 0x452138
lea ecx, [esp + 0x34]
call fcn.0041c470
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push 0x4c3af0
push edx
mov byte [esp + 0x78], 2
call fcn.0040a120
mov esi, dword [esp + 0x40]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
mov ecx, ebp
call fcn.00402110
mov ebx, 1
add esi, 0xfffffff0
mov byte [esp + 0x6c], bl
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg case.default.0x452122
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp case.default.0x452122
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + 0x12a]
call fcn.0046eca0
mov ecx, eax
mov eax, esi
call fcn.00426c60
push eax
lea ecx, [esp + 0x18]
call fcn.00401a90
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebp
call fcn.00402110
mov dword [esp + 0x2c], 1
jmp case.default.0x452122
cmp byte [esp + 0x7c], 0
jne 0x45236d
mov edx, dword [esp + 0x1c]
lea esi, [edx + 0x117]
jmp 0x452325
mov eax, dword [esp + 0x1c]
lea esi, [eax + 0x134]
jmp 0x452325
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.00451880
push eax
lea eax, [esp + 0x20]
push str._.2d
push eax
call fcn.0040a120
add esp, 0x14
jmp 0x452140
push str.:____.
jmp 0x4523cc
push 0x4cc228
jmp 0x4523cc
push 0x4cc22c
jmp 0x4523cc
push 0x4cc230
jmp 0x4523cc
push 0x4cc234
jmp 0x4523cc
push 0x4cc238
mov esi, ebp
call fcn.00408160
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
inc esi
mov dword [esp + 0x38], esi
lea edx, [eax + 1]
jmp 0x4523f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4523f0
sub eax, edx
cmp esi, eax
jb 0x452110
mov eax, dword [esp + 0x80]
test ebx, ebx
je 0x45240e
mov byte [eax], cl
cmp dword [esp + 0x18], 0
je 0x452418
mov byte [eax], 1
cmp dword [esp + 0x2c], 0
je 0x452422
mov byte [eax], 2
lea eax, [edi - 0x10]
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret