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

Disassembly:
push 0xffffffffffffffff
push 0x72a8cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x10], ecx
je 0x454a93
mov ecx, edi
call fcn.004e5750
mov ebx, eax
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x454b7d
cmp dword [ebp], 0
je 0x454b7d
test ebx, ebx
je 0x454b01
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
test al, al
je 0x454b01
cmp byte [ebp + 4], 1
jne 0x454b01
mov ebp, dword [ebp]
cmp byte [ebp + 0x30], 5
jne 0x454afd
mov edx, dword [ebx + 0x214]
lea esi, [ebx + 0x214]
push ebp
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esi + 0xc]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x454af9
mov eax, dword [edi]
mov edx, dword [esi]
push eax
push ebp
mov ecx, esi
call dword [edx + 8]
test al, al
jne 0x454b57
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x454ae3
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x78]
xor esi, esi
cmp byte [ebp + 4], 1
je 0x454b2a
mov esi, dword [esp + 0x74]
test esi, esi
je 0x454b16
cmp dword [esi], 0
jne 0x454b21
push str.Attempting_to_activate_alchemy_enchantment_with_no_source_item_
call fcn.00477400
pop ecx
test esi, esi
je 0x454b7d
cmp dword [esi], 0
je 0x454b7d
push 0x12c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x78], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x68], ecx
je 0x454b94
push ebp
push esi
push edi
mov ecx, eax
call fcn.005122c0
mov ebx, eax
mov dword [esp + 0x70], ebx
jmp 0x454b9a
cmp byte [ebx + 0x228], 2
jne 0x454b7d
mov ecx, dword [0x7c67dc]
push 1
push 0
push 0x5a8
call fcn.0040f930
push eax
call fcn.005f90c0
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
mov dword [esp + 0x70], ecx
mov ebx, ecx
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 0xa8]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [ebp + 8]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call fcn.00455b80
test edi, edi
je 0x454bea
mov eax, dword [ebx + 0xa8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x28]
mov dword [esp + 0x20], edi
call fcn.00456ad0
test esi, esi
je 0x454c11
mov eax, dword [ebx + 0xa8]
mov esi, dword [esi + 4]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [ebp + 0x18]
mov dword [esp + 0x20], esi
call fcn.00456300
lea eax, [ebx + 0x1c]
xor ebp, ebp
cmp eax, ebp
je 0x454de2
mov edx, eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
mov ecx, dword [edx + 8]
xor eax, eax
test ecx, ecx
jbe 0x454c44
mov ecx, dword [edx + 0xc]
cmp dword [ecx], 0
jne 0x454c69
mov esi, dword [edx + 8]
inc eax
add ecx, 4
cmp eax, esi
jb 0x454c34
xor eax, eax
test eax, eax
mov ebx, eax
je 0x454dbf
mov eax, dword [ebx + 0x3c]
test eax, eax
lea esi, [ebx + 4]
mov ecx, 0xe
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
je 0x454c71
mov ebx, eax
jmp 0x454ca1
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + eax*4]
jmp 0x454c46
mov ecx, dword [ebx]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx + 8]
inc eax
cmp eax, esi
jae 0x454c9f
mov edx, dword [ecx + 0xc]
lea ecx, [edx + eax*4]
mov edx, dword [ecx]
test edx, edx
jne 0x454d35
inc eax
add ecx, 4
cmp eax, esi
jb 0x454c8d
xor ebx, ebx
mov ecx, dword [esp + 0x28]
call fcn.004e5750
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x454db3
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0xa8]
mov cl, byte [esp + 0x74]
mov byte [esp + 0x1c], cl
add esi, 0xa0
mov ecx, esi
mov byte [esp + 0x21], 0
mov dword [esp + 0x18], eax
call fcn.00496fa0
movsx edx, word [eax + ebp]
mov eax, dword [edx*4 + 0x747d88]
shr eax, 4
and al, 1
mov ecx, esi
mov byte [esp + 0x20], al
call fcn.00496fa0
mov cx, word [eax + ebp + 0xc]
mov word [esp + 0x22], cx
mov ecx, esi
call fcn.00496fa0
mov dx, word [eax + ebp + 0x10]
mov ecx, esi
mov word [esp + 0x24], dx
call fcn.00496fa0
cmp byte [eax + ebp + 3], 0xff
mov ecx, esi
jne 0x454d3c
call fcn.00496fa0
mov al, byte [eax + ebp + 2]
mov byte [esp + 0x26], al
jmp 0x454d49
mov ebx, edx
jmp 0x454ca1
call fcn.00496fa0
mov cl, byte [eax + ebp + 3]
mov byte [esp + 0x26], cl
mov ecx, esi
call fcn.00496fa0
mov dx, word [eax + ebp]
mov esi, dword [edi + 0x1c8]
mov edi, dword [esi + 4]
push 0x18
mov word [esp + 0x22], dx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test esi, esi
mov ecx, esi
jne 0x454d74
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x454d7c
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x454da9
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
inc dword [eax + 0x1cc]
test ebx, ebx
mov edx, dword [esp + 0x78]
jne 0x454c50
mov edi, dword [esp + 0x74]
inc edi
add edx, 0x10
add ebp, 0x18
cmp ebp, 0xc0
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
jl 0x454c28
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0xa8]
jmp 0x454b7f