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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45174d
sub esp, 0x54
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
add edx, 0x34
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x451311
mov ecx, dword [ecx + 0xc]
add ecx, 0xffff0210
neg ecx
cmp ecx, edx
jge 0x451359
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x451760]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.0045e150
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
call fcn.0045f4e0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp]
shr edx, 6
mov ebx, ecx
shl ecx, 0x1a
or ecx, edx
shr ebx, 6
mov edx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, ecx
sub ecx, edx
mov dword [esp + 0x24], ecx
mov edi, ebx
sbb ebx, ebp
test ebx, ebx
sete al
test ecx, ecx
sete cl
and eax, ecx
test al, al
je 0x4513ab
add edx, 1
adc ebp, 0
mov eax, 1
xor ebx, ebx
jmp 0x4513b3
mov edx, esi
mov ebp, edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4513cb
mov edx, dword [esp + 0x70]
jmp 0x4513d3
mov edx, dword [esp + 0x70]
test edx, edx
jl 0x4513dc
mov ebp, dword [esp + 0x78]
lea esi, [ebp + 1]
jmp 0x4513e2
mov ebp, dword [esp + 0x78]
mov esi, ebp
xchg esi, eax
cmp al, 3
xchg esi, eax
jbe 0x4513ee
mov esi, 3
xchg esi, eax
mov byte [esp + 0x1f], al
xchg esi, eax
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x2c], edx
shl esi, 6
movzx ecx, byte [esp + 0x68]
or esi, ecx
xchg esi, eax
mov byte [edi + edx + 0x210], al
xchg esi, eax
inc dword [edi + 0xc]
movzx ecx, byte [esp + 0x1f]
cmp cl, 3
jne 0x45143d
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 0xc]
xor edi, edi
xor edi, edi
mov dword [esp + 0x20], edi
xor edi, edi
jmp 0x4516fa
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x34]
mov edi, dword [esi + 0xc]
jmp 0x451472
mov ecx, eax
or eax, 0xffffff80
mov byte [esi + edi + 0x210], al
shr ecx, 7
mov eax, ebx
shl eax, 0x19
or eax, ecx
shr ebx, 7
inc edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
cmp eax, 0x80
setae cl
test ebx, ebx
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45144c
mov byte [esi + edi + 0x210], al
lea eax, [edi + 1]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
xor edx, edx
jmp 0x4514c7
xchg esi, eax
mov byte [ebx + edi + 0x210], al
xchg esi, eax
lea ebp, [edi + 1]
mov dword [ebx + 0xc], ebp
mov ebx, dword [esp + 0x38]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
cmp eax, edx
jle 0x4514e4
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x34]
lea ebp, [ecx + edx*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
mov edi, dword [ebx + 0xc]
jmp 0x4516ac
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4514fa
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0xc]
xor ebx, ebx
jmp 0x45164c
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x451512
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
xor edx, edx
xor ebx, ebx
jmp 0x4515f9
jle 0x451552
mov ecx, dword [esp + 0x34]
test byte [ecx], al
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
add ecx, 0x10
mov dword [esp + 4], ecx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 0x10], eax
call fcn.004517b0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x4515a8
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jg 0x451578
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x451574
add eax, 0xfffffffe
mov byte [ecx], al
add esp, 0x54
ret
lea eax, [0x6c2093]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00433dc0
mov ebp, edx
or edx, 0xffffff80
mov byte [eax + ecx + 0x210], dl
shr ebp, 7
mov edx, ebx
shl edx, 0x19
or edx, ebp
shr ebx, 7
inc ecx
cmp edx, 0x80
xchg ebp, ebx
setae bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
and esi, ebp
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x45158e
mov byte [eax + ecx + 0x210], dl
inc ecx
mov dword [eax + 0xc], ecx
jmp 0x451552
mov ebp, edx
or edx, 0xffffff80
mov byte [eax + ecx + 0x210], dl
shr ebp, 7
mov edx, ebx
shl edx, 0x19
or edx, ebp
shr ebx, 7
inc ecx
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp edx, 0x80
xchg esi, ebx
setae bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4515df
mov byte [eax + ecx + 0x210], dl
inc ecx
mov dword [eax + 0xc], ecx
jmp 0x451552
mov ebp, eax
or eax, 0xffffff80
mov byte [ecx + edx + 0x210], al
shr ebp, 7
mov eax, ebx
shl eax, 0x19
or eax, ebp
shr ebx, 7
inc edx
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
cmp eax, 0x80
xchg edi, ebx
setae bl
xchg edi, ebx
and edi, ebp
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x451632
mov byte [ecx + edx + 0x210], al
lea eax, [edx + 1]
mov dword [ecx + 0xc], eax
jmp 0x451552
mov eax, esi
or esi, 0xffffff80
xchg esi, eax
mov byte [ebx + edi + 0x210], al
xchg esi, eax
shr eax, 7
mov esi, ebp
shl esi, 0x19
or esi, eax
shr ebp, 7
inc edi
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
cmp esi, 0x80
setae cl
test ebp, ebp
sete al
seta dl
and eax, ecx
or edx, eax
test dl, dl
jne 0x451684
jmp 0x4514a9
mov eax, edi
or edi, 0xffffff80
xchg edi, eax
mov byte [ecx + esi + 0x210], al
xchg edi, eax
shr eax, 7
mov edi, edx
shl edi, 0x19
or edi, eax
shr edx, 7
inc esi
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp edi, 0x80
setae al
test edx, edx
seta bl
and eax, ebp
or ebx, eax
test bl, bl
jne 0x4516ca
xchg edi, eax
mov byte [ecx + esi + 0x210], al
xchg edi, eax
inc esi
mov dword [ecx + 0xc], esi
mov esi, dword [esp + 0x34]
mov edi, dword [esi + 0xc]
lea ecx, [edi + esi + 0x20f]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
jmp 0x45143f
call fcn.0045e260
jmp fcn.004512d0