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

Disassembly:
push 0xffffffffffffffff
push 0x4d0682
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
call fcn.00458ae0
xor ebp, ebp
mov dword [esp + 0x48], ebp
cmp byte [edi + 0x60], 0
lea esi, [esp + 0x28]
je 0x4544bf
mov edi, dword [edi + 0x64]
push edi
call fcn.00458b90
mov ebx, dword [esp + 0x38]
cmp edi, ebp
jbe 0x454454
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x50]
lea eax, [ecx + ebp + 0x68]
mov ecx, dword [0x4fd4f4]
cmp ecx, 6
jae 0x4543c2
sub eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
cmp ecx, 6
jb 0x4543da
mov esi, dword [eax]
mov ecx, dword [eax + 0x34]
xor edx, edx
xor edi, edi
or edx, esi
or ecx, edi
jmp 0x4543de
mov edx, dword [eax]
xor ecx, ecx
cmp ecx, dword [esp + 0x58]
ja 0x454441
jb 0x4543ec
cmp edx, dword [esp + 0x54]
ja 0x454441
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x4543f8
xor ecx, ecx
jmp 0x454401
mov ecx, dword [esp + 0x3c]
sub ecx, edx
sar ecx, 2
mov esi, ebx
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x454419
mov ecx, ebx
mov dword [ebx], eax
lea ebx, [ecx + 4]
mov dword [esp + 0x38], ebx
jmp 0x454441
mov esi, ebx
cmp edx, ebx
jbe 0x454424
call fcn.0049f380
mov eax, dword [esp + 0x28]
push esi
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
call fcn.00459460
mov ebx, dword [esp + 0x38]
add dword [esp + 0x10], 4
add ebp, 0x38
sub dword [esp + 0x14], 1
jne 0x4543ab
mov esi, dword [esp + 0x34]
mov edi, ebx
cmp esi, ebx
jbe 0x45446b
call fcn.0049f380
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
cmp esi, ebx
jbe 0x454478
call fcn.0049f380
test ebp, ebp
je 0x454482
cmp ebp, dword [esp + 0x28]
je 0x454487
call fcn.0049f380
mov eax, edi
push 0x4542a0
sub eax, esi
sar eax, 2
push eax
push edi
push esi
call fcn.0045b300
mov eax, dword [esp + 0x38]
mov ecx, eax
sub ecx, dword [esp + 0x34]
sar ecx, 2
dec ecx
mov dword [esp + 0x50], ecx
cmp ecx, 0xffffffff
je 0x4546bb
mov ebx, dword [esp + 0x5c]
jmp 0x4545d4
mov eax, dword [edi + 0x7c]
push eax
call fcn.00458b90
mov eax, dword [edi + 0x78]
mov ebp, dword [eax]
mov edi, dword [edi + 0x64]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x18], ebp
test edi, edi
je 0x4544ea
cmp edi, eax
je 0x4544f3
call fcn.0049f380
mov ebx, dword [esp + 0x38]
cmp ebp, esi
je 0x454454
test edi, edi
jne 0x45453b
call fcn.0049f380
mov ebx, dword [esp + 0x38]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x454518
call fcn.0049f380
mov ebx, dword [esp + 0x38]
cmp dword [0x4fd4f4], 6
mov edx, dword [ebp + 8]
mov dword [esp + 0x1c], edx
jb 0x45453f
mov esi, dword [edx]
mov eax, dword [edx + 0x34]
xor ecx, ecx
xor ebp, ebp
or ecx, esi
or eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x454543
mov eax, dword [edi]
jmp 0x45450a
mov ecx, dword [edx]
xor eax, eax
cmp eax, dword [esp + 0x58]
ja 0x4545a6
jb 0x454551
cmp ecx, dword [esp + 0x54]
ja 0x4545a6
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x45455d
xor eax, eax
jmp 0x454566
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
mov esi, ebx
sub esi, ecx
sar esi, 2
cmp esi, eax
jae 0x45457e
mov eax, ebx
mov dword [ebx], edx
lea ebx, [eax + 4]
mov dword [esp + 0x38], ebx
jmp 0x4545a6
mov esi, ebx
cmp ecx, ebx
jbe 0x454589
call fcn.0049f380
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
call fcn.00459460
mov ebx, dword [esp + 0x38]
test edi, edi
jne 0x4545cb
call fcn.0049f380
mov ebx, dword [esp + 0x38]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4545c3
call fcn.0049f380
mov ebx, dword [esp + 0x38]
mov ebp, dword [ebp]
jmp 0x4544d4
mov eax, dword [edi]
jmp 0x4545b5
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
sar eax, 2
cmp esi, eax
jb 0x4545e8
call fcn.0049f380
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x14]
mov edx, dword [ecx + esi*4]
mov eax, dword [eax]
mov esi, dword [ebx]
mov dword [esp + 0x54], edx
mov ebp, eax
lea esp, [esp]
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx]
test esi, esi
je 0x45460d
cmp esi, eax
je 0x454612
call fcn.0049f380
cmp ebp, edi
je 0x45466b
test esi, esi
jne 0x454663
call fcn.0049f380
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x45462b
call fcn.0049f380
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x54]
add edx, ecx
cmp dword [eax + 4], edx
jae 0x454649
mov edx, dword [eax + 8]
add edx, dword [eax + 4]
cmp edx, ecx
jae 0x45466b
test esi, esi
jne 0x454667
call fcn.0049f380
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x45465e
call fcn.0049f380
mov ebp, dword [ebp]
jmp 0x454600
mov eax, dword [esi]
jmp 0x454621
mov eax, dword [esi]
jmp 0x454654
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx]
test esi, esi
je 0x454678
cmp esi, eax
je 0x45467d
call fcn.0049f380
cmp ebp, edi
jne 0x4546a9
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x54]
push eax
push ecx
push esi
call fcn.00459bc0
mov ecx, 1
mov edx, ebx
mov edi, eax
call fcn.00459c00
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x50], eax
cmp eax, 0xffffffff
jne 0x4545d0
mov edx, dword [esp + 0x5c]
push edx
call fcn.0045a880
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
je 0x4546e0
push eax
call fcn.0049e96f
add esp, 4
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.0049e96f
mov ecx, dword [esp + 0x44]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 0x10